Eclipse uploads code to GitHub

Source: Internet
Author: User

Usually work in the study will inevitably in GitHub search for the open source of Android code, Android system itself code is hosted on GitHub, if usually handy to do a demo, hosted in the cloud disk feel not into the stream, if peacetime own a temporary rise to write a small demo, To share with you, GitHub is naturally the first choice for our code hosting. The bundled eclipse itself, which Google itself withdrew, has already packaged git in it, and has reduced one step for our Android code submission, and here's a concrete look at how to host the code to GitHub:

1. First confirm that if the eclipse version is not a version downloaded from Google, you will need to go to http://download.eclipse.org/egit/updates/to download the software:

Eclipse→help→install New Software

2. I am using a bundle version of myself, if the non-binding is similar to my next step, then go to Window→preferences to operate:

3. Click on the Generate RSA key to generate the key, which will be saved directly on GitHub:

5. Add an SSH Key directly above GitHub, and the value is the value in that big red box:

6. Right-click on a new Android project, Team→share project:

7. Then use the project code with the GIT repository:

8. Right-click on the project Team→commit:

8. Right-click Team→remote->push,uri is the address of GitHub's own warehouse:

9. Select the main branch, the bottom of which is the finish submission:

10. Final Result:

Eclipse uploads code to GitHub

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.