Front: In the WIN8 system, use Tortoisegit to manage git
Steps:
1 . Set the user name and email for git:
Command: (Please run git bash.vbs (git install directory))
git config--global user.name "Xuhaiyan"
git config--global user.email "[Email protected]"
Operation Tortoisegit:
Tortoisegit---Settings--and Git---userinfo name and email fill in the appropriate information,
2. Run git Bash, generate SSH
Command: (Please enter your own e-mail address)
Ssh-keygen-t rsa-c "[Email protected]"
Please enter three spaces in a row
3, configuration tortoisegit,tortoisegit default is Support putty, does not support SSH, if need to support SSH, change the configuration:
Tortoisegit---Settings, Network---SSH client
This path defaults to: Your tortoisegit installation directory \bin\tortoisegitplink.exe needs to be changed to:
Your git installation directory \bin\ssh.exe
4. Add the id_rsa.pub content of the directory under your username \.ssh to your GitHub account C:\Users\
5. "url =" in config under ". Git" folder under your Git project, set the SSH address to your project.