Code hosting on GitHub under eclipse

Source: Internet
Author: User
Tags github ssh key

First, you must register an account in www.github.com.

Install the egit plug-in eclipse. The latest version of eclipse already comes with GIT version control.

Create a new project on GitHub: bms_java

After confirmation

Select the included files in the repository. Select readme.

Effect after adding

Under eclipse, select window-perferences, select Network Connections-SSH2 in general options, select the key management tab, and select general RSA key, as shown in: (Note that eclipse is restarted)


Add the generated SSH key to the GitHub SSH key

Create a new project BMS in eclipse and add an index. jsp file

Select BMS and select team-share project

Then select create to create a local repository.

Select BMS, select team/commit in sequence, and submit the project to the local repository.

Under the GIT Resource Directory, select team-fetch to retrieve the directories on the GitHub network.

Continue to the GIT Resource Directory and select team-merge. Because only after the two are synchronized can the local code be submitted to the network.

Select the BMS project, select team-remote-push, and upload the project to GitHub.

After uploading, we found that the data has been updated in GitHub.

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.