|
发表于 2020-10-20 15:01:24
3193 浏览 0 回复
Git 将一个分支的commit合并到另一个分支
1、在提交commit的分支上使用一下命令获取刚刚提交的commit编号: git log --oneline - tangh@xy02:/a1/tangh/6762/ZFTY_6765/alps-release-p0.mp1-V5$ git log --oneline
- da75331 solve the camera photo rotated 90 degress
- e6f0984 solve USB cable not recognized</font>
复制代码 2、合并到当前分支里面:git cherry-pick e6f0984- tangh@xy08:/sdc2/tangh/6762/alps-release-p0.mp1-V5.117$ git cherry-pick e6f0984
- [XY001-V5.117 aa29a3b] solve USB cable not recognized
- Author: yocto-aiv-sct-git01-user <miles.zhang@smart-core.com.cn>
复制代码
|
|
手机微信同号:13682654092
|
|
|
|
|
登录或注册
|