your local changes would be overwritten by cherry-pick commit your changes or stash them to proceed
在进行cherry-pick代码时提示:your local changes would be overwritten by cherry-pick commit your changes or stash them to proceed,无法cherry-pick代码。git > stash changes 把修改存到缓冲区, 然后再右键 cherry-pick 即可成功,如下图。
·
1、问题描述
在进行cherry-pick代码时提示:your local changes would be overwritten by cherry-pick commit your changes or stash them to proceed
2、解决办法
git > stash changes 把修改存到缓冲区, 如下图
然后再 cherry-pick 即可成功。
参考:git 提交代码到错误分支如何解决_your local changes would be overwritten by cherry--CSDN博客
更多推荐
所有评论(0)