First, pre-preparation
Tortoisegit Official website: http://code.google.com/p/tortoisegit/
Git:https://git-scm.com/download/win
This is the version that I am currently using:
Tortoisegit_2.2_64bit.msi
Git-2.10.0-64-bit.exe
Installation everywhere there is information, self-Baidu
second, generate SSH Keys
The SSH protocol is used between the Tortoisegit and the GitHub account to establish a secure link using SSH keys (SSH key).
To generate the SSH keys step:
1. Open the Puttygen in the Tortoisegit program group;
2. Mouse click "Generate", using the mouse in the space panel any activity, generate your SSH Keys, no need to enter the key passphrase and confirm passphrase, and then click on the Save private key, the SSH Keys are saved to your local computer (you will need to use them later). The generated SSH keys are in the big red box.
This SSH keys also needs to be used on GitHub, and only tortoisegit and GitHub can use the same SSH keys to establish a normal secure link, otherwise they won't be able to do anything.
Iii. registering a github account
Sign up for a free account on GitHub's official website: http://www.github.com/.
Add the SSH keys you generated above. As shown in the following:
and then save
Iv. new repository on GitHub
Create a new repository on GitHub. Open source agreement can be specified, the Readme can also be checked on
Create a new repository after clicking the Create Repository button and return to the main page of this project
Note the right side of the project's main page, find the section that appears, click the Copy to Clipboard icon, and copy the git address: [email protected]:reille/test.git.
v. Uploading items to GitHub
To create a new directory for this project on your computer, right-click to select "Git Clone ...", such as:
Enter the git address in the URL and import the SSH keys file saved to your computer in Load Putty key (this file should not be lost, you can use it for another computer, or you will need to regenerate and add an extra ssh). Wait for processing to complete
In this way, project engineering on your computer establishes a secure link to the project on GitHub:
Create a Test.txt file, try Uploading
Add first, and then commit, like SVN
Other uses are temporarily not sorted out, basically and SVN almost
Tortoisegit creating a project on GitHub