eclipse加入git插件:https://www.cnblogs.com/heal/p/6427402.htm

1.装插件:help-Install New Software->add

eclipse加入git插件

输入插件名称(自定义),以及插件地址( http://download.eclipse.org/egit/updates/

eclipse加入git插件

eclipse加入git插件

按照默认一直安装下去

2.git的简单配置

拥有 git 后,我们还需要对 git 进行简单的配置。 Window->Preferences->Team->Git->Configuration,点击 Add Entry ,配置 email 和 name,当然还可以是一些其他的信息,当提交代码时,这些信息会自动被读取提交。

 eclipse加入git插件


3.配置git仓库

在eclipse中选择一个项目,右键->Team->Share Project

eclipse加入git插件

4.从远程clone

windows--show view--git repositories 切换到git视图

eclipse加入git插件


eclipse加入git插件

eclipse加入git插件

5.从本地上传代码

项目右键--team-commit 

eclipse加入git插件

Eclipse中出现there is no staged files

preferences->git->committing

将use stage view to commit instead of commit dialog 的勾去掉


项目右键--team--remote--push

eclipse加入git插件

eclipse加入git插件

相关文章:

  • 2021-11-29
  • 2022-01-27
  • 2022-01-09
  • 2021-12-28
  • 2022-01-12
  • 2022-01-07
  • 2021-11-20
猜你喜欢
  • 2021-09-25
  • 2021-11-19
  • 2022-02-19
  • 2022-03-02
  • 2021-06-23
  • 2021-08-05
  • 2021-12-24
相关资源
相似解决方案