Skip to content

Instantly share code, notes, and snippets.

@hxtree
Created April 13, 2022 00:26
Show Gist options
  • Save hxtree/848b306eda45c6de81f54c9580a1d7c1 to your computer and use it in GitHub Desktop.
Save hxtree/848b306eda45c6de81f54c9580a1d7c1 to your computer and use it in GitHub Desktop.
Git add file as executable
git add .
git update-index --chmod=+x <your file>
git commit -m 'Added execute permissions'
git push main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment