Configure Git in Eclipse 4.5.2 Mars and submit project to Git hub

Source: Internet
Author: User

In the Eclipse menu bar, select Window--preference, and then locate Team--git--configuration. Since I had already installed git on my computer, eclipse found the git configuration file and read my configuration information. Finally click OK

Associate GitHub

Start by creating a repository on GitHub, which is where the code behind our eclipse will be placed.

Once the warehouse has been created, go to Eclipse's project and Mail project name--team--shareproject. If this is the first time, follow the wizard and create your own git repository.

After you create it, add it again, and then commit, such as:

Commit, write some information about the change, and then submit it, and note that the commit and Push

The Destination Warehouse dialog box appears, such as.

Fill in the information we just created on GitHub:

For example, push succeeds.

Go to GitHub, refresh a look, the project has been pushed up.

Configure Git in Eclipse 4.5.2 Mars and submit project to Git hub

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.