1. 查找提交对应的hash值
git log 查看 d 查看下一页,q退出
vscode通过gitlens插件查看
image.png
![](https://img.haomeiwen.com/i26022476/e9da0838685dcd5d.png)
2.合并提交
git cherry-pick hahs值
git log 查看 d 查看下一页,q退出
vscode通过gitlens插件查看
image.png
git cherry-pick hahs值
本文标题:git合并某分支上的单次提交
本文链接:https://www.haomeiwen.com/subject/ckpysrtx.html
网友评论