I've been getting familiar with creating, merging and deleting branches. I like to know where I am so I don't commit work into the wrong branch. I use git branch -a
to see which branches I have. I think the asterix *
shows which branch I'm currently on. What does it mean when I get:
* (no branch)
master
origin/HEAD
Because when I $git checkout mybranch
I expect to see
* mybranch
master
origin/HEAD