I would recommend foo-bar style naming instead. Tab completion works just as well, and there's no unnecessary directory structure created in refs. It also completely avoids this error.
EDIT: I found one downside to this. If you like to set all your primary branches to be the default output for git show-branch and not show topic branches, you have to use subdirectories for your topic branches. I don't use show-branch much at this time, but this could matter to someone who does. Reference: git-scm.com/docs/git-show-branch#_...
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I would recommend
foo-bar
style naming instead. Tab completion works just as well, and there's no unnecessary directory structure created inrefs
. It also completely avoids this error.EDIT: I found one downside to this. If you like to set all your primary branches to be the default output for
git show-branch
and not show topic branches, you have to use subdirectories for your topic branches. I don't useshow-branch
much at this time, but this could matter to someone who does. Reference: git-scm.com/docs/git-show-branch#_...