富贵论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

手机号码,快捷登录

手机号码,快捷登录

广告位招租qq41463402
查看: 16|回复: 0

[教程] eclipse git 怎么解决冲突 eclipse git 冲突解决方法

[复制链接]

1万

主题

1267

回帖

5万

积分

会员

UID
14678
金钱
0 点
威望
0 点
贡献
18735 点
宣传
0 人
买家
0 元
卖家
0 元
注册时间
2018-7-20
最后登录
2024-7-22
发表于 2024-4-19 21:06 | 显示全部楼层 |阅读模式

1、工程->Team->同步:

eclipse git 怎么解决冲突 eclipse git 冲突解决方法-1.png

2、从远程pull至本地,就会出现如下内容:

eclipse git 怎么解决冲突 eclipse git 冲突解决方法-2.png

3、使用Merge Tool,执行第二项

eclipse git 怎么解决冲突 eclipse git 冲突解决方法-3.png

eclipse git 怎么解决冲突 eclipse git 冲突解决方法-4.png

使用HEAD合并后的效果:

eclipse git 怎么解决冲突 eclipse git 冲突解决方法-5.png

4、再手动修改

eclipse git 怎么解决冲突 eclipse git 冲突解决方法-6.png

4、修改后的文件需要添加到git index中去:

eclipse git 怎么解决冲突 eclipse git 冲突解决方法-7.png

5、冲突文件变为修改图标样式,再提交至本地,此时的提交便是merge合并:

eclipse git 怎么解决冲突 eclipse git 冲突解决方法-8.png

eclipse git 怎么解决冲突 eclipse git 冲突解决方法-9.png

6、此时需要pull的向下箭头和数量没了,注意图标的变化:

eclipse git 怎么解决冲突 eclipse git 冲突解决方法-10.png

7、现在可以直接push到远程了:

eclipse git 怎么解决冲突 eclipse git 冲突解决方法-11.png

eclipse git 怎么解决冲突 eclipse git 冲突解决方法-12.png

此时configure->save and push一步步执行冲突就搞定了。

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|富贵论坛 ( 琼ICP备2022019866号-1 )

GMT+8, 2024-7-27 14:09 , Processed in 0.890697 second(s), 39 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表