Skip to content

Instantly share code, notes, and snippets.

@deltorosalazar
Created July 5, 2019 15:44
Show Gist options
  • Save deltorosalazar/6bad400a6d356332a513dfa74983da7b to your computer and use it in GitHub Desktop.
Save deltorosalazar/6bad400a6d356332a513dfa74983da7b to your computer and use it in GitHub Desktop.
Make Git ignore file mode changes
git config core.fileMode false
find . -type d -exec chmod a+rwx {} \; # Make folders traversable and read/write
find . -type f -exec chmod a+rw {} \; # Make files read/write
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment