Created
November 24, 2017 17:00
-
-
Save DeadSix27/0d4af2c2a2bb89a837f37a2985aaa8d4 to your computer and use it in GitHub Desktop.
rebasing a patch
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
| Example on ffmpeg: | |
| git clone https://github.com/FFmpeg/FFmpeg | |
| cd FFmpeg | |
| git remote add -f mpvBranch https://github.com/mpv-player/ffmpeg-mpv | |
| git remote update | |
| wget https://github.com/FFmpeg/FFmpeg/commit/94e5432e6124192fb81893fc5fd40e26f3e09df4.patch | |
| git am -3 94e5432e6124192fb81893fc5fd40e26f3e09df4.patch | |
| echo Resolve the patch manually | |
| exit 1 | |
| git add (file) | |
| rm 94e5432e6124192fb81893fc5fd40e26f3e09df4.patch | |
| git commit | |
| git format-patch -n HEAD^ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment