Development·1 min read
Ignoring git status when file or folder permissions change in a git-versioned project
If someone runs chmod 777 -Rf * on a project directory or ...

[LINUX] [GIT] if someone runs chmod 777 -Rf * on a project directory or changes permissions some other way and you want git to ignore it, just run this command:
git config core.filemode false
That way, when you run "git status" the change won't be listed and you don't have to commit it, in case it was unintentional.
September 2, 2019 · Brazil