Skip to content

Instantly share code, notes, and snippets.

@tamboer
Created August 22, 2013 11:16
Show Gist options
  • Select an option

  • Save tamboer/6305972 to your computer and use it in GitHub Desktop.

Select an option

Save tamboer/6305972 to your computer and use it in GitHub Desktop.
git file permissions
... git didn’t like that some of the permissions had changed on the files within my repos.
So, after reading the manual for a while, I discovered I could issue the following:
git config core.filemode false
According to the git manual:
core.fileMode
If false, the executable bit differences between the index and the
working copy are ignored; useful on broken filesystems like FAT.
See git-update-index(1). True by default.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment