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