Reviewboard Windows client, Gerrit Windows client, Jenkins Windows Server all need this method.
1. Install the GIT bash and tortoisegit programs first.
2. Run git bash first and run it on the bash terminal.
Ssh-keygen.exe
Do not enter a password,
The public key and private key file are generated. Remember the name.
3. Rename the public key file, add it to the GIT server according to the last string of the file content in my article (5. Add a new user.
Http://blog.csdn.net/sheismylife/article/details/7204345
4. Run the puttygen program in tortoisegit, import the private key file generated by 2, and save it as a private key file with the suffix PPK.
5. Run the pageant program in tortoisegit to import the PPK private key file.
Now, use tortoisgit to clone.
Like git@10.112.18.175: gitosis-admin.git
The advantage of this method is that you do not need to enter the user name and password. On Windows server, you can directly access git server through scripts at regular intervals.