Skip to content

Instantly share code, notes, and snippets.

@buraksahin59
Last active August 10, 2020 20:34
Show Gist options
  • Save buraksahin59/4816c7c0c2ee647535904fe8c3f0ba01 to your computer and use it in GitHub Desktop.
Save buraksahin59/4816c7c0c2ee647535904fe8c3f0ba01 to your computer and use it in GitHub Desktop.

If you want a git repository to ignore permission changes (chmod),

type the following command into the Terminal while inside the git repository:

git config core.filemode false

It is usually possible to do this for all git repositories at once, instead of going one-by-one.

This is done by using the following command inside the Terminal (no need to be inside a git repository for this command):

git config --global core.filemode false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment