Skip to content

Instantly share code, notes, and snippets.

@ebruning
Created June 11, 2012 20:08
Show Gist options
  • Save ebruning/2912351 to your computer and use it in GitHub Desktop.
Save ebruning/2912351 to your computer and use it in GitHub Desktop.
Stop tracking file modes in git
Solution
Luckily, the solution is very simple – tell git to stop tracking filemodes! I set this as a global option, but also had to set it on the repository too as it has a default value set in there. The following two commands sorted it out:
git config --global core.filemode false
git config core.filemode false
http://www.grumpydev.com/2011/01/19/switching-from-cygwin-to-msysgit-git-thinks-everything-has-been-modified/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment