I. GitHub introduction and common usage: (This chapter describes how to install git in a Windows environment)
GitHub Introduction: GitHub is similar to googlecode. It is an open-source project management platform, that is, a code repository.
It mainly comes with git. The interface is actually quite good.
Here, I will divide GitHub into three usage methods based on common user behavior operations:
First, download the source code.
Second, you are the creator of the entire code library.
1>. The first is the GitHub address: https://github.com, and then the same registration login process.
2> Create a repo and click the corresponding project to go to the page
The prompt is actually clear, and the GIT global configuration is configured locally.
Create and initialize a local file library.
Of course, before remote, we must configure the connection key (you can imagine that you will enter the user name and password after submitting SVN)
3>. Some necessary preparations for local git. Git accesses the resource library through SSH, so you need to create a local file for verification.
Use SSH to generate a pair of keys (similar to SVN account and password)
4>. Check for connectivity
You can also use SSH-V to print more detailed connection logs.
5>. Upload the public key to your GitHub.
After ssh-keygen (window), A. SSH file is generated in your personal folder, which contains XXX. Pub, Which is copied to gihub.
Title casually. I entered a Windows certificate. I used the key pair in the current Windows system because GitHub supports multiple SSH keys. As long as the access is the private key corresponding to your local file
(You can solve RSA encryption or something, because a pair is generated, one of which is saved locally, and the other is put in githug for verification ).
6> at this point, the preparatory work has been completed, that is, according to the instructions in step 1>.
The code is successfully created and uploaded.
For more details, visit http://help.github.com/win-set-up-git /.
Operation 3: Download a branch and submit for Modification
I have not tried this. For details, refer to the fork help on the homepage for step-by-step operations.