Von*_*onC 11
它会更容易:
git fetch (带来一切本地)git cherry-pick <SHA1 of the right commit>完成提取后,您可以选择修复错误的提交(它应该是其中的一部分git log origin/xxx,xxx作为在GitHub端提交错误修复的分支)
一旦错误修复本地master分支本地挑选,一个简单的git push将在GitHub master分支上发布新的提交.
如果提交来自另一个fork:
git remote add otherfork /url/to/other/fork
git fetch otherfork
git cherry-pick <commit>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4848 次 |
| 最近记录: |