git-windows - make bash script executable

Updated . Posted . Visible to the public.

To create foo.sh as executable script do the following:

touch foo.sh
git add foo.sh
git update-index --chmod=+x foo.sh

Check using the following command:

git ls-files --stage
Profile picture of Cuauhtemoc
Cuauhtemoc
Last edit
Cuauhtemoc
Posted by Cuauhtemoc to Cuauhtemoc's Deck (2018-06-09 06:31)