Skip to content

Instantly share code, notes, and snippets.

@derFunk
Created March 3, 2025 12:54
Show Gist options
  • Select an option

  • Save derFunk/198a1d34a1c8c676d8a71bd6b35228ce to your computer and use it in GitHub Desktop.

Select an option

Save derFunk/198a1d34a1c8c676d8a71bd6b35228ce to your computer and use it in GitHub Desktop.

Revisions

  1. derFunk created this gist Mar 3, 2025.
    1 change: 1 addition & 0 deletions set-git-core-filemode-false.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    find . -type d -name ".git" -exec sh -c 'echo "Setting core.filemode=false in $(dirname {})" && git -C "$(dirname {})" config core.filemode false' \;