Created
April 13, 2022 00:26
-
-
Save hxtree/848b306eda45c6de81f54c9580a1d7c1 to your computer and use it in GitHub Desktop.
Git add file as executable
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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