Created
April 12, 2013 16:42
-
-
Save bgrins/5373357 to your computer and use it in GitHub Desktop.
Used this to clean up a branch in preparation for a pull request
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
git diff master > ~/Desktop/patch.patch | |
git checkout -b for-upstream remotes/upstream/master | |
patch -p1 < ~/Desktop/patch.patch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment