首页
技术博客
登录
6mi
u
盘
搜
搜 索
技术博客
git lease, commit your changes or stash them before you can merge.冲突
git lease, commit your changes or stash them before you can merge.冲突
tech
2026-08-16
1
git冲突
lease, commit your changes or stash them before you can merge.
有两种方式解决这种问题(像我这种菜鸟比较喜欢第二种解决方式,主要是不用想太多的原因): 1 stash 方法
git stash git pull git stash pop
2.放弃本地修改,直接覆盖之
git reset --hard git pull
转载请注明原文地址:https://tech.qufami.com/read-28643.html
最新回复
(
0
)