Skip to content

Instantly share code, notes, and snippets.

@gifflet
Last active January 27, 2023 14:52
Show Gist options
  • Save gifflet/a3e40dacd8182fb9f432291b55c96b49 to your computer and use it in GitHub Desktop.
Save gifflet/a3e40dacd8182fb9f432291b55c96b49 to your computer and use it in GitHub Desktop.
Git - Add sh file as executable
git add <file>
git update-index --chmod=+x <file>
git commit -m 'adding execute permissions'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment