Eclipse submits local code to the remote repository using the Egit plugin

Source: Internet
Author: User

1. After you have completed your Git account, set up a good code base

2.eclipse successfully installed the EGit plugin (Eclipse version matches the EGit plugin list http://wiki.eclipse.org/EGit/FAQ#Retention_Policy )

3. Create a common Java project 4. Set the project git management, Team-->share project-->git-->create Repository

Choose git here .




after clicking finish the project will become this way, which means that the project has been successfully identified as a GIT management project, then committed to the local repository, and then submitted to the remote warehouse (if not submitted to the local warehouse, unable to submit to the remote warehouse, if you want to ask why so sick, this is the game rules!!) ) 5. Add the project to the local warehouse Team-->commit 5.1 Submit



5.2 Fill in the Notes




5.3 After submission (it has been successfully submitted to the local warehouse)



6. Submit to the remote repository (Team-->remote-->push)



If force update is checked, the overwrite commit



If there is a red conflict prompt on commit, you must update it before committing


currently directly ignored, forced commit (return to previous step tick force update)



then submit directly, in the remote warehouse to refresh the page will see the project you just submitted


Eclipse submits local code to the remote repository using the Egit plugin

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.