Created
March 3, 2025 12:54
-
-
Save derFunk/198a1d34a1c8c676d8a71bd6b35228ce to your computer and use it in GitHub Desktop.
Set `git config core.filemode false` to all subdirectories which are local git repositories
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
find . -type d -name ".git" -exec sh -c 'echo "Setting core.filemode=false in $(dirname {})" && git -C "$(dirname {})" config core.filemode false' \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment