Created
December 20, 2017 04:25
-
-
Save tovbinm/15f9379e9adce4db5d0ec4d99095818a to your computer and use it in GitHub Desktop.
Apply git patch safely with rejects
This file contains 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
git format-patch HEAD~X --stdout > patch | |
git apply --stat patch | |
git apply --reject --whitespace=fix patch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment