Skip to content

Instantly share code, notes, and snippets.

@grimzy
Created November 22, 2016 02:32
Show Gist options
  • Save grimzy/0a86458b16043a8fe4726cbc7eb851f3 to your computer and use it in GitHub Desktop.
Save grimzy/0a86458b16043a8fe4726cbc7eb851f3 to your computer and use it in GitHub Desktop.
Executable file in Git
chmod u+x <filename>
git update-index --chmod=+x <filename>
git commit -am "<filename> is now executable."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment