Friday, February 15, 2013

Git file mode differences

Upon getting a project back from another dev, it appeared as though all files had changed.  This is because the file mode apparently changed.  Saying Modified file, mode 100644 -> 100755.

This is saying the unix permissions changed.  You can make a global change by using:

git config core.filemode false
Or you can edit the .git/config file for the project by adding:

[Core] 
filemode = false



source: http://www.f15ijp.com/2012/08/git-diff-old-mode-100755-new-mode-100644/
keywords: file mode 100644 -> 100755

No comments:

Post a Comment