git 复制commit到另外一个分支 搬砖胖912 2023-04-04 341 阅读1分钟 1、查看分支提交记录git log ,复制 commithash 2、切换分支 git checkout branchname ,复制commit git cherry-pick commithash。 3、查看状态 git status 有无冲突,有解决无提交,git push提交commit内容完成。