Skip to content

Instantly share code, notes, and snippets.

@liq07lzucn
Forked from liitfr/README.md
Created June 11, 2023 07:28
Show Gist options
  • Select an option

  • Save liq07lzucn/9f060c26e01b78b9d878fbcff8fd694a to your computer and use it in GitHub Desktop.

Select an option

Save liq07lzucn/9f060c26e01b78b9d878fbcff8fd694a 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