git 解决冲突问题

1. 先 git fetch (将远程主机的最新内容拉到本地,用户在检查了以后决定是否合并到工作本机分支中。)

2。git pull origin (拉取远程仓库 / 如果有冲突就会出现冲突的文件)

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

   pages/home/home.axml

   pages/home/home.json
   Please commit your changes or stash them before you merge.

3. 修改冲突文件 

4. 再进行 git pull origin 操作

猜你喜欢

转载自www.cnblogs.com/PasserByOne/p/12674536.html