gitpull报错及解决办法------gitstash
(2022-12-17 13:58:47)git pull 命令等同于先做了git fetch ,再做了git merge, 当git merge后有可能会报错:Your local changes would be overwritten by merge. Commit, stash or revert them to proceed
报错原因是你对本地的代码进行了更改,而未对代码进行提交、存放或还原
解决方法:使用git stash先将更改的代码暂存起来
转:https://www.cnblogs.com/shamshing/p/15357522.html

加载中…