Created
February 7, 2012 17:16
-
-
Save berinle/1760796 to your computer and use it in GitHub Desktop.
Git tips: creating and applying a patch avoiding white space issues
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 characters
#create a commit patch, ignoring all white space issues | |
g format-patch -w -b --ignore-space-at-eol -o /my/patch/destination -1 | |
#apply a patch, ignoring all white space issues | |
g am --ignore-space-change --ignore-whitespace --whitespace=nowarn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment