赞
踩
Auto-merging mes5server/mes5j.json
Auto-merging mes5server/mes5j.json
CONFLICT (content): Merge conflict in mes5server/mes5j.json
Automatic merge failed; fix conflicts and then commit the result.
要合并的两个分支改动了同一份文件。
git status
<<<<<<< HEAD
你的本地代码
=======
从远程拉取的代码
>>>>>>> origin/master
3.编辑冲突文件,决定保留哪些更改,然后删除冲突标记。
4.标记文件为已解决冲突状态
git add <file-with-conflict>
git commit -m "提交信息"
git pull origin master
将远程origin主机的master分支拉取过来和本地的当前分支进行合并
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。