首页 > 其他 > 详细

Cherry-pick Failed Error merging 。You have not concluded your cherry-pick (CHERRY_PICK_HEAD exists). Please, commit your changes before you merge.

时间:2021-09-02 06:25:19      阅读:27      评论:0      收藏:0      [点我收藏+]

报错信息:

更新代码时报错:

Error merging
You have not concluded your cherry-pick (CHERRY_PICK_HEAD exists).
Please, commit your changes before you merge.

Cherry-pick报错

Cherry-pick Failed
f1c9ec4e [fix] xxxxxxx commit时提交的message xxxxxxxx
The previous cherry-pick is now empty, possibly due to conflict resolution.
If you wish to commit it anyway, use:
git commit --allow-empty
Otherwise, please use ‘git cherry-pick --skip‘

解决方案

// 执行一下命放弃cherry-pick
git cherry-pick --abort
// 然后重新拉取代码
git pull

注意:

cherry-pick时需要保证commit列表中没有需要提交的代码

Cherry-pick Failed Error merging 。You have not concluded your cherry-pick (CHERRY_PICK_HEAD exists). Please, commit your changes before you merge.

原文:https://www.cnblogs.com/520future/p/15211846.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!