Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save VladimirCores/5a35fe7804f131cbdf75b47c1c50039e to your computer and use it in GitHub Desktop.
Save VladimirCores/5a35fe7804f131cbdf75b47c1c50039e to your computer and use it in GitHub Desktop.
Change all files permission from current folder to not executable in git
find . -type f -exec git update-index --chmod=-x {} \;
git status
git commit -m "Changing file permissions to remove execute bit"
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment