最佳答案
I have a really straightforward set of git commands that is resulting in some curious behavior:
Show my current local branches, and see that I'm on release/beta1
:
$ git branch
develop
master
* release/beta1
Create a bugfix/somefeature
branch from release/beta1
:
$ git checkout -b bugfix/somefeature
Switched to a new branch 'bugfix/somefeature'
So far so good, right? Well, show me local branches again:
$ git branch
BUGFIX/somefeature
The questions:
bugfix
prefix of my branch get capitalized as BUGFIX
?I'm using git version 1.8.1.5 via Homebrew on OS X 10.8.2, and this happens with or without my pretty tame ~/.gitconfig
in place. This happens for seemingly every bugfix/...
branch.