Skip to content

Instantly share code, notes, and snippets.

@carlospaiva
Forked from liitfr/README.md
Created December 12, 2022 21:29
Show Gist options
  • Save carlospaiva/751753a72d40e173f9b593f00ab0a15f to your computer and use it in GitHub Desktop.
Save carlospaiva/751753a72d40e173f9b593f00ab0a15f to your computer and use it in GitHub Desktop.
[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
  • then with vim .git/config, set filemode option to false
[core]
        filemode = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment