通过上一篇文章,我们了解了如何在idea中与github进行交互。本文将阐述如何在eclipse中完成代码版本管理。

1 系统、软件和前提约束

2 操作

2.1 导出远程仓库代码

注意:作者的远程仓库地址为 https://github.com/ruili2006/testgithub.git,请读者根据实际情况设设置。

05 eclipse中使用github
1.png

05 eclipse中使用github
2.png
05 eclipse中使用github
3.png
05 eclipse中使用github
4.png
05 eclipse中使用github
5.png
05 eclipse中使用github
6.png
05 eclipse中使用github
7.png
05 eclipse中使用github
8.png
05 eclipse中使用github
导出成功

2.2 提交代码

修改123.txt,再按以下方式提交:


05 eclipse中使用github
10.png
05 eclipse中使用github
11.png
05 eclipse中使用github
12.png
05 eclipse中使用github
13.png
05 eclipse中使用github
14.png

以上就是我们在eclipse中通过github进行代码检出和提交的过程。

2.3 查看提交日志和结果

05 eclipse中使用github
15.png
05 eclipse中使用github
16.png
05 eclipse中使用github
查看github网站上的123.txt

2.4 更新代码

直接在github网站上修改123.txt:


05 eclipse中使用github
在github上修改123.txt

在eclipse上更新代码:


05 eclipse中使用github
19.png
05 eclipse中使用github
20.png
05 eclipse中使用github
21.png

以上就是在eclipse中使用github进行代码维护的过程。

相关文章:

  • 2021-07-12
  • 2021-07-02
  • 2021-11-11
  • 2021-07-05
  • 2021-06-09
  • 2021-05-13
  • 2022-01-11
  • 2021-07-15
猜你喜欢
  • 2021-12-21
  • 2021-08-08
  • 2022-02-06
  • 2021-11-30
相关资源
相似解决方案