Skip to content

Instantly share code, notes, and snippets.

@zero88
Last active August 10, 2018 02:28
Show Gist options
  • Save zero88/226a4fd0a8627886c9f4ab5c5c3902a4 to your computer and use it in GitHub Desktop.
Save zero88/226a4fd0a8627886c9f4ab5c5c3902a4 to your computer and use it in GitHub Desktop.
git ls-files | grep \.sh | tr '\n' ' '
git update-index --chmod=+x $(git ls-files | grep \.sh | tr '\n' ' ')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment