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博客

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐