eclipse整合git

1、eclipse mars2等较新版本已经集成git,点击window->show view->other里搜索git repository,展示git仓库视图

 

2、window->preference->team->git->configuration->user settings->add entry->分别输入github用户名和邮箱的key和value

 

3、window->preference->team->ignored resources添加例外(如.settings、.project、.classpath等)

 

4、右击项目->team->share project->git->勾选use or create repository in parent folder of project复选框->勾选下方的复选框->create repository->finish

 

5、导入项目到workspace:右击->import->Git

posted on 2018-11-06 21:24  bofeng  阅读(373)  评论(0编辑  收藏  举报