Search This Blog

Thursday, September 1, 2016

Cygwin Git modified file inconsistency introduced by synchronization

When a repository is synchronized using cygwin unison through Windows network file sharing, the file modes would be corrupted. This is because of the incompatibility between the ways in which Windows and Cygwin look at the files. In this case, git would mark the files modified even if those files were not modified. Having git ignore the file modes can resolve this issue.

git config --local core.filemode false

No comments:

Post a Comment

Blog Archive