From: "Torsten Bögershausen" <tboegi@web.de>
To: 郭腾飞 <tfguo369@gmail.com>, git@vger.kernel.org
Subject: Re: [issue?]'git branch -D' case sensitive issue
Date: Thu, 14 Jan 2016 12:51:05 +0100 [thread overview]
Message-ID: <56978BA9.2010005@web.de> (raw)
In-Reply-To: <CAB4fgE81JHzU=KmN9e=pjsurboipQ3K-pMu-26j+o+FU5G7tQQ@mail.gmail.com>
On 01/14/2016 08:52 AM, 郭腾飞 wrote:
> 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
> --
If you can give us a hint, under which OS you are working ?
I assume that you are on Windows or Mac OS ?
In this case the file system is part of the problem,
which treats NIce and NICe the same.
next prev parent reply other threads:[~2016-01-14 11:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-14 7:52 [issue?]'git branch -D' case sensitive issue 郭腾飞
2016-01-14 11:51 ` Torsten Bögershausen [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56978BA9.2010005@web.de \
--to=tboegi@web.de \
--cc=git@vger.kernel.org \
--cc=tfguo369@gmail.com \
/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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.