Eclipse Submit Project to GitHub

Source: Internet
Author: User

1. At https://github.com new repository

2. New project in eclipse such as: Test project

3. Right-click "Test"->team->share project ...->select a repository type:git


Tick use or create repository in parent folder of Project


Click Create Repository, Finish
The test directory opened in Workspace will find a more. git folder.

4. Right-click on "Test"->team->commit Local commit

5. Then right-click the "Test"->team->remote->push


The URI is the address specified above github:

Username and password are the user name and password for the GitHub site.

5.finish

Source ref Select Refs/heads/master Destination ref is automatically populated, click Add Spec to tick focus update
Start the submission.

6. You can refresh the page to view the submitted code ...

Note: the public key is born in Eclipse and is added to the GitHub repository.

In the menu bar, open window→preference→general→network connection→ssh2→key management→generate RSA Key ... →apply→save private Key ...

The public key that generates SSH is passed in GitHub: Edit your profile, SSH key, add ssh key,

Eclipse Submit Project to 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.