Introduction to how GitHub is used-managing personal code

Source: Internet
Author: User
Tags version control system

As an open source code base and version control system, GitHub has more than 1.4 million developer users. As more and more applications move to the cloud, GitHub has become the preferred method for managing software development and discovering existing code.
Here's a quick introduction to how to build your own code base on the GitHub platform and upload and update with Tortoisegit.
One: Create a resource pool on the server
1. Register an account on the https://github.com/platform and log in.
2. After login, click New repository to create your own repository, which will generate the. gitignore file by default after successful creation.

3, the server on the code base has been created, the next need to operate on the client, say their own source code upload to our repository. We need to do this with the Tortoisegit tool.
4. After downloading and installing Tortoisegit, the right-click folder can see its function in the blank space:

Second: Upload the local source code to the server
1, in the operation of SVN, we first want to checkout our source library, also in Git we call clone, right click Tortoisegit Clone, the resource path is filled in the URL, directory is clone to directories, click OK.




2, the next is to copy their own resources to the local clone directory, and then upload to the service.



3, note that this is the end, just add the code to the local warehouse, the next need to push to the server repository.




4, to the end of the upload work, you can see the server repository on the source of their own upload.

How to use GitHub-manage personal 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.