GitHub tutorial for Eclipse

Source: Internet
Author: User

1. Download The egit plug-in

To open Eclipse, git requires eclipse authorization. You cannot download the egit installation package from the webpage. In the menu bar, open eclipse → help → install new software → add, enter egit in the Name column, enter the http://download.eclipse.org/egit/updates/ in the location column, and click OK to download. After the download is complete, you will be prompted to restart eclipse. If you already have it, you do not need it.

 

2. Generate a public key in Eclipse and add it to GitHub Repository.

On the menu bar, choose window> preference> general → network connection → SSH2 → Key Management → generate RSA Key... → apply → save private key...

Generate an SSH public key. In GitHub, Add an ssh key through: edit your profile-> SSH Key-> Add SSH Key. Copy the public key generated above and save it.

3. Import existing projects
Open a project, right-click the project name, and choose team> share project to import your project to another git folder.

4. Submit
Right-click the project and choose team> commit. Commit is the git library from commit to the local machine, while push is synchronized to github.

Enter your GitHub user name and email address in the pop-up window.

Submit the file locally and push it to the server

 

Enter the repository address of the item on GitHub. If you do not have the repository address, create a project as follows:

Enter the URL above and your username and password

Configure the git environment in the eclipse development environment of android

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.