[issue?]'git branch -D' case sensitive issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,
I encountered some issues when using 'git branch -D'.
It's strange, the command 'git branch -D' is case sensitive.
Here is the operated log.

➜  my-emacs-conf git:(NIce) git branch -avv
* NIce                  fed5d9c Update js2-mode $ js-beautify.
  master                fed5d9c [origin/master] Update js2-mode $ js-beautify.
  remotes/origin/HEAD   -> origin/master
  remotes/origin/fake   8ec9cad fake.
  remotes/origin/mac13  13ae483 mac pro 13's config.
  remotes/origin/master fed5d9c Update js2-mode $ js-beautify.
➜  my-emacs-conf git:(NIce)
➜  my-emacs-conf git:(NIce) git branch -D NIce
error: Cannot delete the branch 'NIce' which you are currently on.
➜  my-emacs-conf git:(NIce)
➜  my-emacs-conf git:(NIce) git branch -D NICe
Deleted branch NICe (was fed5d9c).
➜  my-emacs-conf git:(NIce) ✗ git branch -avv
  master                fed5d9c [origin/master] Update js2-mode $ js-beautify.
  remotes/origin/HEAD   -> origin/master
  remotes/origin/fake   8ec9cad fake.
  remotes/origin/mac13  13ae483 mac pro 13's config.
  remotes/origin/master fed5d9c Update js2-mode $ js-beautify.

Hope someone can give me a hint.

➜  my-emacs-conf git:(NIce) ✗ git --version
git version 2.6.3
➜  my-emacs-conf git:(NIce) ✗ sw_vers -productVersion
10.11 OSX

BRs,
terry3
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]