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