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
Posted by Cuauhtemoc to Cuauhtemoc's Deck (2018-06-09 06:31)
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