git 同步两个分支代码命令 rick_好好 2022-08-08 857 阅读1分钟 将develop分支的代码同步到private,步骤: git checkout private git merge develop git push git cherry-pick(择优挑选) commitId,可以选择某一个分支中的一个或几个commit(s)来合并。