Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Creating the patch
- git format-patch -1 <sha>
- OR
- git format-patch -1 HEAD
- Applying the patch
- git apply --stat file.patch # show stats.
- git apply --check file.patch # check for error before applying
- git am < file.patch # apply the patch finally
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement