Skip to content

Instantly share code, notes, and snippets.

View meji92's full-sized avatar

Javier Mateos meji92

View GitHub Profile
@meji92
meji92 / README.md
Created July 29, 2024 12:34 — forked from liitfr/README.md
[how to revert 100644 → 100755 commits ?] #git #chmod

how to revert 100644 → 100755 commits

  • on your repo's root, run : find . -type f | xargs chmod -x
  • commit this change on files : commit -n -m 'fix: files permission from 100755 to 100644'
  • then with vim .git/config, set filemode option to false
[core]
        filemode = false