Created
October 22, 2022 18:22
-
-
Save Geolykt/98b84e0127d8610d3c733d6e61fab44d to your computer and use it in GitHub Desktop.
Set all modified (probably modified due to changed file mods) files to have a chmod of 644
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 status | grep "modified" | egrep -o " {3}.+" | egrep -o "[^ ]+" | xargs -n1 chmod -v 644 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment