Skip to content

Instantly share code, notes, and snippets.

@ansig
Created September 5, 2017 06:26
Show Gist options
  • Save ansig/6a71161f353ad66e98729b9233b4d197 to your computer and use it in GitHub Desktop.
Save ansig/6a71161f353ad66e98729b9233b4d197 to your computer and use it in GitHub Desktop.
Git: add execute permissions on file in repo
git update-index --chmod=+x foo.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment