git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [issue?]'git branch -D' case sensitive issue
@ 2016-01-14  7:52 郭腾飞
  2016-01-14 11:51 ` Torsten Bögershausen
  0 siblings, 1 reply; 6+ messages in thread
From: 郭腾飞 @ 2016-01-14  7:52 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-01-15 22:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-14  7:52 [issue?]'git branch -D' case sensitive issue 郭腾飞
2016-01-14 11:51 ` Torsten Bögershausen
2016-01-14 13:28   ` 郭腾飞
2016-01-14 16:42     ` Torsten Bögershausen
2016-01-14 17:21       ` Junio C Hamano
2016-01-15 22:28         ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).