Created
February 23, 2016 18:21
-
-
Save woodphil/37cee8d709e6d7f2b164 to your computer and use it in GitHub Desktop.
hacky patch way of doing git commits
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 diff > backup | |
git diff -w > changes (or whatever flag is needed) | |
git reset --hard | |
patch < changes (apply the changes listed in the file) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment