Subject: Re: Problems with file name case on Windows.

From: Johannes Sixt <[email-masked]>
Date: Fri, 23 Apr 2010 08:38:30 +0200

Am 22.04.2010 22:54, schrieb martinvz:
>
> Under Cygwin, if you add a file "a" in one commit, then rename the file to
> "A" and commit again, both files will be in the new commit. Running the
> following line under Cygwin produces a commit with both files ("a" and "A").
> Running it on Linux produces a commit with one file ("A"), as expected.

The safe way to achieve your goal is:

   git mv a b
   git mv b A
   git commit

-- Hannes