git and absolute Windows-style paths

Bill Smith
Wed Apr 20 00:49:00 GMT 2016

> $ git add C:\\test\\file         <-- this fails despite exit code 0
[Bill Smith] 
Does it work if you do:

git add c:/test/file

We use the mixed mode paths extensively with Cygwin in our environment and it works well.  We have the issue of having to work with non-Cygwin aware Windows programs.

More information about the Cygwin mailing list