git-1.9.5-preview20141217
1. Install git and open "Git Bash" from the program directory
2. Type the command: ssh-keygen-t rsa-c "[Email protected]"
"[Email protected]" is Gitlab account
3. Remind you to enter the name of the key, such as Id_rsa
4. Generate two files under C:\Users\Administrator\.ssh: Id_rsa and Id_rsa.pub
5. Open the Id_rsa.pub file with Notepad, copy the content, on the gitlab.com website to SSH Key Management page, add a new public key, just take a name, paste the contents of the copy.
6. ^_^ OK.
Note that the key file generated in step 2 is in the root directory of the current user and must be placed in the ". SSH" Directory of the current user directory to take effect.
You can only enter create "." On the command line in Windows. The beginning of the folder. The command is mkdir. SSH
Windows Gitlab configuration generates SSH key