Saving chmod +x in a Git Repo

export fileType=.sh
git config core.fileMode true
find . -type f -iname "*$fileType" -exec chmod +x {} \;
find . -type f -iname "*$fileType" -exec git update-index --chmod=+x {} \;
git add . && git commit -am "Update Execute Permissions" && git push

Revision #2
Created 16 January 2023 22:15:57 by Chase
Updated 20 January 2023 17:23:24 by Chase