Last active
July 7, 2025 19:33
-
-
Save jtdp/5443498 to your computer and use it in GitHub Desktop.
Revisions
-
jtdp revised this gist
Apr 23, 2013 . No changes.There are no files selected for viewing
-
jtdp created this gist
Apr 23, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ git diff -p \ | grep -E '^(diff|old mode|new mode)' \ | sed -e 's/^old/NEW/;s/^new/old/;s/^NEW/new/' \ | git apply