Created
October 25, 2024 11:48
-
-
Save dobladov/b55ed0269c5463fd03731ef773863082 to your computer and use it in GitHub Desktop.
Create a patch of an opened PR
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
| ## On the branch to patch | |
| git format-patch master --stdout > [name].patch | |
| ## Change to the target branch | |
| git checkout [branch] | |
| ## Applays the patch while indicating conflicts | |
| git apply --3way changes.patch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment