1. First download the Sourectree for installation
2. After the installation is successful, get Sshkey and find the interface to enter the command number in the Sourectree interface.
3. Set up your user name and mailbox
$ git config--global user.name "Zhangsan"
$ git config--global user.email "[Email protected]"
4. Generate SSH Key procedure:
1. See if you already have an SSH key: CD ~/.ssh
If there is no key then there will be no such folder, there is a backup to delete
2. Survival key:
$ ssh-keygen-t rsa-c "[Email protected]"
Press 3 to enter, the password is empty.
Your identification has been saved In/home/tekkub/.ssh/id_rsa.
Your public key has been saved in/home/tekkub/.ssh/id_rsa.pub.
The key fingerprint is:
..................
5. Two files are typically produced under C:\Documents and settings\administrator\: Id_rsa and Id_rsa.pub6. Open the Id_rsa.pub file with Notepad and send it to the server side.
How to install git on Windows top