GitHub: How to get Project source code

Source: Internet
Author: User

GitHub is a popular source management platform. There are many open source projects on this. As a normal user, how to get the source of these open source projects?

1. First, you need to register a github account.

2. Install the Git tool under Windows:: Http://code.google.com/p/msysgit/downloads/list

3. Install SSH keys

Start git bash and generate SSH keys.

Command: $ssh-keygen-t rsa-c "[Email protected]"

This is the mailbox that was filled in when you registered.

Open id_rsa.pub with Notepad, copy the string inside, and spare.

Open GitHub's settings and add SSH keys.

Title can be left blank. Key is the text content of the id_rsa.pub that you just copied.

4, test settings. The test to enter the above generated key is the set passphase.

Test command: ssh-t [email protected]

5. Get source code for open source project.

Using the command: Git clone git-read-only-url

The git Read only URL can be obtained through the corresponding function on the project homepage.

6, finally, if you are not willing to trouble, in fact, directly download the ZIP compression package on it. The location is in the middle.

GitHub: How to get Project source code

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.