Last active
February 7, 2024 15:22
-
-
Save JohnL4/7a9d476801ad3f5345d37b3587f14794 to your computer and use it in GitHub Desktop.
Flip the executable bit on a shell script with git command line
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 update-index --chmod=+x myscript.sh | |
# May be required to get your bash script to run in a Linux Azure pipeline agent; watch for "not executable" errors. | |
# (This is Powershell, but who cares, it's a command line.) | |
# From https://www.aligrant.com/web/blog/2022-04-20_execute_permission_on_chained_shell_scripts_through_azure_devops |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment