是
//隐藏当前的改动,然后就可以直接远程仓库pull过来
git stash
git pull
//恢复之前发生冲突的修改
git stash pop
//接下来就是 commit push等操作
git add .
git commit -m "xxx"
git push
不是
//硬覆盖
git reset --hard
git pull
原文:https://www.cnblogs.com/asas001/p/15207324.html