3 ms·
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 gi
by jspiros 14y 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.
- nodesocket 14y agoYup, makes sense. Thanks.
- xxbondsxx 14y agoYep! 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...