First, download and install git client
1, download the official address: https: //git-scm.com/
2, choose the appropriate system to download (windows all the way to the default installation)
Second, configure git
1, register your own account on github
2, create their own projects on github
3, to create a successful show
4, arranged at the corresponding client
Configuring Username:
$ git config --global user.name "xiaobei"
Configuration E-mail:
$ git config --global user.email "[email protected]"
Private keys are generated:
$ Ssh-keygen -t rsa Note secret key position and enter the password generated! ! !
5, the corresponding configuration on github
Open keys generated by the step sublime or notepad ++ and replication.
Open registration completed github settings page and click on "New SSHKey" button
Copy and paste the key into the input box that he can easily play a title
Displays the following shall be saved successfully
6, back to the client to connect
Enter the client: ssh -T [email protected]
Enter the previously set password, as shown below is the successful connection.
You've successfully authenticated, but GitHub does not provide shell access.