Skip to content

Instantly share code, notes, and snippets.

@geoff-maddock
Last active June 15, 2017 16:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save geoff-maddock/bdb07ac29173082e1d32 to your computer and use it in GitHub Desktop.
Save geoff-maddock/bdb07ac29173082e1d32 to your computer and use it in GitHub Desktop.
Git - FIX MODIFIED PERMISSIONS ONLY
git diff -p -R | grep -E '^(diff|(old|new) mode)' | git apply
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment