git lease, commit your changes or stash them before you can merge.冲突

tech2026-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
最新回复(0)