GitHub introduction and usage

Source: Internet
Author: User

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.

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.