Eclipse Submit Project to GitHub

Source: Internet
Author: User

http://my.oschina.net/OutOfMemory/blog/294133

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. Opening the test directory 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 on GitHub: username and password are the GitHub website username and password
5.finish Source ref Select Refs/heads/master Destination ref will be automatically populated, click Add Spec to tick focus update to start 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,

© Copyright belongs to the author

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.