eclipse git 解决冲突 解决 mergetool 不能使用问题

  1. 本地代码
    eclipse 中git解决冲突 解决 mergetool 不能使用问题

  2. 远程代码
    eclipse 中git解决冲突 解决 mergetool 不能使用问题

第一步 --> 同步远程资源库,检查是否存在冲突

eclipse 中git解决冲突 解决 mergetool 不能使用问题

这里有冲突出现
eclipse 中git解决冲突 解决 mergetool 不能使用问题

第二步 --> 如果存在冲突,将本地代码提交到本地仓库

**注意:**这里是点击 commit,而不是点击 commit push

eclipse 中git解决冲突 解决 mergetool 不能使用问题

第三步 --> pull远程代码

eclipse 中git解决冲突 解决 mergetool 不能使用问题

第四步 --> 使用 merge tool 解决冲突

右键文件,选择 merge tool

eclipse 中git解决冲突 解决 mergetool 不能使用问题

第五步 --> 解决冲突

eclipse 中git解决冲突 解决 mergetool 不能使用问题

eclipse 中git解决冲突 解决 mergetool 不能使用问题

上传自己的本地代码到远程

点击 commit push

eclipse 中git解决冲突 解决 mergetool 不能使用问题

完成操作!

相关文章: