Hacker News new | ask | show | jobs
by jspiros 4869 days ago
Creating a branch with

  git branch bugFix
does not automatically check it out, so you'd have to follow it up with

  git checkout bugFix
but if you do

  git checkout -b bugFix
it will create the branch and then check it out all in one step.
2 comments

Yep! Exactly. The status of the current branch your on is designated by the asterisk (like in real git), but in retrospect I guess it could be a bit more clear...
Yup, makes sense. Thanks.