Skip to content

Instantly share code, notes, and snippets.

@djravine
Last active July 22, 2019 05:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save djravine/2106c16f08685cfaadf7a73e6b074289 to your computer and use it in GitHub Desktop.
Save djravine/2106c16f08685cfaadf7a73e6b074289 to your computer and use it in GitHub Desktop.
Automatically apply “git update-index --chmod=+x” to executable files
find . -name '*.sh' | xargs git update-index --chmod=+x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment