-
在git bash 窗口, git pull 更新代码发生错误:pom文件冲突需要合并
Your local changes to the following files would be overwritten by merge:
leyou-user/pom.xml。
-
2
git stash命令:保存本地代码版本。
-
3
git pull:更新代码
-
4
git stash pop:将之前版本代码弹出,冲突代码会合并。
-
5
修改冲突代码,git 会将冲突代码展示。