Created
December 7, 2016 05:04
-
-
Save soardex/4f1eb399c4c603a2d5fc7a98bfe5c86b to your computer and use it in GitHub Desktop.
Creating Patch And Applying Patch In Git
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 --no-prefix master > diff.patch | |
git checkout master patch -p0 < diff.patch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment