First, install Egit in eclipse
In the Add Repository dialog box, enter Http://download.eclipse.org/egit/updates
After installing Egit, import the Git project.
1. Copy the project address
2. Cloning a project in eclipse
Copy Project Address
The URI is the project address we just copied. Enter the user name, password
Select the branch, where we select the main branch
Select the directory where the project library is located
Download the project to a local library, not yet, and load the project into the project
Import Project
Import an existing MAVEN project
root directory where the project is written
A git project is ready to load.
Commit 提交, 可以提交到Git云端, 也可以提交给本地 Push to Upstream 直接提交到Git云端 Fetch from Upstream 从Git云端获取更新 Pull 将获取到的更新, 填充到项目中 Reset 删除当前版本, 更新到与Git云端同样的版本 Add to Index 手动合并, 要添加这个版本的在云端的索引 在修改前先更新, 修改后, 马上提交 如果提交时遇到冲突, 要先提交到本地库, 再手动合并, 然后Add to Index 最后提交
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Eclipse uses Egit