1、在git bash 窗口, git pull 更新代码发生错误:pom文件冲突需要左佯抵盗合并Your local cha荏鱿胫协nges 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 会将冲突代码展示。
时间:2024-10-13 22:32:14
1、在git bash 窗口, git pull 更新代码发生错误:pom文件冲突需要左佯抵盗合并Your local cha荏鱿胫协nges 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 会将冲突代码展示。