find . -name "*.sh" -exec git ls-files -s {} \;
find . -name "*.sh" -exec git update-index --chmod=+x {} \;
Created
August 11, 2021 12:38
-
-
Save gorshkov-leonid/ba00c5620deae45011229ecc9292245c to your computer and use it in GitHub Desktop.
Update file permissions in GIT repo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment