Skip to content

Instantly share code, notes, and snippets.

@parmonov98
Forked from liitfr/README.md
Created January 19, 2023 09:39
Show Gist options
  • Save parmonov98/82265e8675c49cc92911656fae033871 to your computer and use it in GitHub Desktop.
Save parmonov98/82265e8675c49cc92911656fae033871 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
  • 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment