比如需要将test上某次提交的代码合并到master
1.切换到test
git log
找到需要合并的commitID
2.切换到master
git cherry-pick commitID
3.正常git push到远程master即可
标签:git,合并,某次,切换,提交,分支 From: https://blog.51cto.com/u_15964543/6056519
比如需要将test上某次提交的代码合并到master
1.切换到test
git log
找到需要合并的commitID
2.切换到master
git cherry-pick commitID
3.正常git push到远程master即可
标签:git,合并,某次,切换,提交,分支 From: https://blog.51cto.com/u_15964543/6056519