From: Johannes Sixt Date: Fri, 23 Apr 2010 06:38:30 GMT Subject: Re: Problems with file name case on Windows. Message-ID: <4BD14066.3040307@kdbg.org> In-Reply-To: <1271969657620-4947131.post@n2.nabble.com> 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