One, the installation of Plug-ins
The way to update plug-ins directly is not always possible, so I often use this approach.
Help->eclipse Marketplace
Search git and then find egit click Install. It's OK.
Second, configure Git
Preparation: Need to create account username and mailbox in https://github.com/
Window->preferences->team->configuration
User.email is the mailbox you bound on GitHub. You can configure User.Name here
You can also set Git's username and mailbox directly from the client as follows:
$ git config--global user.name "pkx" $ git config--global user.email 1028764968@qq.com
Third, add items to Git's warehouse
Selected item mouse Right click->team->start project or Share project
In this step, you successfully create a git warehouse. But the folder is in the untracked state (the symbol "?" in the folder). ), we need to submit code to the local repository below.
Iv. Submission of projects
Select the item right-click-team->commited and the following error occurred:
Solution:
window-preference->team->commited
Remove the use Staging View to commit instead of commit Dialog, as shown below
Set up a warehouse path