From: 郭腾飞 <tfguo369@gmail.com>
To: git@vger.kernel.org
Subject: [issue?]'git branch -D' case sensitive issue
Date: Thu, 14 Jan 2016 15:52:02 +0800 [thread overview]
Message-ID: <CAB4fgE81JHzU=KmN9e=pjsurboipQ3K-pMu-26j+o+FU5G7tQQ@mail.gmail.com> (raw)
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
next reply other threads:[~2016-01-14 7:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-14 7:52 郭腾飞 [this message]
2016-01-14 11:51 ` [issue?]'git branch -D' case sensitive issue 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAB4fgE81JHzU=KmN9e=pjsurboipQ3K-pMu-26j+o+FU5G7tQQ@mail.gmail.com' \
--to=tfguo369@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).