Git冲突:commit your changes or stash them before you can merge. 解决办法

git stash 
git pull
git stash pop

解决git 冲突的方法,

遇到的情况,在服务器上修改代码没有提交到远程分支,

在本地修改代码后,提交远程分支,

在服务器上pull报错

 

posted @ 2020-04-24 10:28  市丸银  阅读(160)  评论(0编辑  收藏  举报