Date: 2014.08.01
Location: Base
-------------------------------------------------------------------------------------
First, download the installation
1. Download the Windows version of the GIT installation package:
2. Some of the setup procedures are as follows:
3. Other default, until finish
-------------------------------------------------------------------------------------
Second, configure the GitHub SSH key1. Open git bash to see if an SSH key already exists on your computer.
Input: Cd~/.ssh
If shown below, you need to create a new Ssh.key
2. Create a new SSH key
Input command: ssh-keygen-t rsa-c "[Email protected]"
The message contains the file save path: The contents of this build file are then used to set up the GitHub account
Then enter and prompt for and confirm the password
3. Copy ssh key to GitHub
3.1 Open GitHub website, go to your Account page, click the Settings icon (wrench icon) in the upper right corner
3.2 Click on SSH key to set the left column of the page and go to SSH key to add the page
3.3 Click Add SSH Key, locate the Id_rsa.pub file under the path mentioned above, and copy its contents into the key bar to confirm. (If you encounter this problem, click on Add SSH key does not respond, you can switch to IE browser to open the page)
-------------------------------------------------------------------------------------
4. Testing
Input: ssh-t [email protected]
After you enter the password, the following message appears indicating that the link was successful