1. Install git
2, after installation, to do, a simple configuration, fill in our User name and mailbox
"Preferences" Team "git>configuration
3. Login to Git to create a new warehouse
Then write down the SSH address:
4. Create a project and a local git repository open eclipse, create a project, and then click: File > Team > Share Project Select Git>next
5. Submit the code to the local repository (the code must be submitted to the local repository before it can be submitted to the remote Git repository)
First, you need to commit the code to the local warehouse: Project Right-click >team>commit
6, push the project to the Remote warehouse: Project Right-click >>team>remote>>push
Enter the URL: On Githob, create a project to get to, copy it in. Fill in your login Githob's account password, next
Click on the small triangle, click on Master,add spec. Finish finished, landing Githob, you can see the project has just been submitted
Eclipse git commit Code