cherry-pick冲突后的解决
下面是有文件冲突,和15a2b6c61927e5aed6718de89ad9dafba939a90b这个提交冲突Automatic cherry-pick failed.After resolving the conflicts,mark the corrected paths with 'git add <paths>' or 'git rm <paths>'...
文章共199字 · 阅读需要大约1分钟
一键AI生成摘要,助你高效阅读
问答
·
下面是有文件冲突,和15a2b6c61927e5aed6718de89ad9dafba939a90b这个提交冲突
Automatic cherry-pick failed. After resolving the conflicts,
mark the corrected paths with 'git add <paths>' or 'git rm <paths>'
and commit the result with:
git commit -c 15a2b6c61927e5aed6718de89ad9dafba939a90b
解决的冲突的方法也和普通的一样,手工检查。
1)查看冲突的文件
使用git status
both modified: app/models/user.rb
上面是远程cherry-pick时遇到的冲突
然后是解决冲突,解决完冲突,使用指令 git cherry-pick --continue
放弃解决冲突, git cherry-pick --abort
更多推荐
已为社区贡献4条内容
所有评论(0)