Version Control-github

Source: Internet
Author: User

In the previous articles, we introduced the basic usage of git and the construction of Git server, this article to learn how to use GitHub. GitHub is an open source code base and version control Repository, and is currently the most widely used service on the web, and GitHub can host a variety of git libraries.

First we need to register a GitHub account, open https://github.com/, and click "Sign up" to register. The steps are as follows:

1, click "Sign Up" after entering the following page, on this page to fill in some basic information, click "Create an Account" can be created accounts.

2, click "Create an Account", you can enter the following interface. GitHub is free for open source public projects, and if you want to create a private repository, you can pay for it, depending on the number of private libraries. By default, Free is selected, that is, the currently created account can only create open source libraries on GitHub.

If you use it yourself, just click "Finish Sign Up". Of course you can also continue to improve other information, do not do too much in this.

This allows us to create a GitHub account, log in with the registered account, we can create the repository, as follows:

1, after landing the interface as follows: Click "+new Repository"

2, enter the Repository creation page, fill in the specific information, such as the project name, project description and click "Create Repository" after the description file Readme to complete the creation of the repository.

Once created, the details screen is as follows:

How do we access it locally after the build is finished? Below we do this in two ways, in the normal way and using the client provided by GitHub.

1. Configure GitHub on the client. First we need to produce a public key to log on to GitHub, as we have described before, and can operate the following commands.

2. After generating the public key, configure the public key content to GitHub, as follows:

Go to GitHub's setting interface and find SSH keys

Click "SSH Keys" to save the public key generated above on GitHub.

3. After completing the above configuration, on the client side, you can clone the repository on GitHub to the client by command git clone.

4. Edit files and push to GitHub.

5. Login to GitHub to see the files we just pushed from the client.

If you have any inquiries or technical exchanges, please join the official QQ Group: (452379712)


Jerry Education
Source:http://blog.csdn.net/jerehedu/
This article is the copyright of Yantai Jerry Education Technology Co., Ltd. and CSDN Common, welcome reprint, but without the author's consent must retain this paragraph statement, and in the article page obvious location to the original link, otherwise reserves the right to pursue legal responsibility.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Version Control-github

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.