Git currently accounts for a large proportion of the source code management field, and many open-source projects have been transferred to GitHub. For example: jquery, Reddit, Sparkle, curl, Ruby on Rails, node. JS, clicktoflash, Erlang/OTP, CakePHP, redis.
This article details how to install and configure the GIT tool in Windows to connect to GitHub. You can also use git in Visual Studio.
I. Prepare tools
1. Download git extensions. Address http://code.google.com/p/gitextensions/downloads/list download the latest version.
2. Download tortoisegit. Address http://code.google.com/p/tortoisegit/downloads/list Please download the latest version (Note: The 32-bit and 64-bit versions are differentiated.).
Ii. Installation
Install git extensions first:
Install tortoisegit again:
3. Apply for a GitHub account
GitHub address https://github.com/
Enter the account information.
Iv. Configure Association
1. Create a project testgit.
2. Set the associated key
1) Start and select your language.
2) Set User information:
Save the precedingPublic Key stringAnd the public key file isPublicFile, the key isPrivate. PPKFile.
3) Add the public key to the key manager of GitHub:
4) Obtain clone locally
After the configuration is complete, your git can be synchronized with GitHub.
The following menu appears in Visual Studio: