Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gorshkov-leonid/ba00c5620deae45011229ecc9292245c to your computer and use it in GitHub Desktop.
Save gorshkov-leonid/ba00c5620deae45011229ecc9292245c to your computer and use it in GitHub Desktop.
Update file permissions in GIT repo
find . -name "*.sh" -exec git ls-files -s {} \;
find . -name "*.sh" -exec git update-index --chmod=+x {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment