Git-181006-本地pull代码和远端代码merge冲突

Problem

$ git pull
error: Your local changes to the following files would be overwritten by merge:

Solution

git stash
git pull origin master
git stash pop

Reference

git pull遇到错误:error: Your local changes to the following files would be overwritten by merge:

猜你喜欢

转载自blog.csdn.net/u012251305/article/details/82950533