Vi. Cloning a github repository
1, create the warehouse directory, directory location is not required, such as D:\learngit.
2, configure SSH (if not configured will enter the user name and password each time)
Generate Ssh-key using Tortoisegit: Start Menu Find ""--"PuTTYgen"
Generate key: And save the private key file for. PPK
Note: Keep shaking the mouse to increase randomness during the build process
Add a public key to GitHub: Login to GitHub, find "Settings" in the top right-hand menu, find "SSH keys" in the left navigation, find "Add SSH key", copy the public key you just generated, and click "Add Key".
Description: Title is the name of the public key, convenient management, you can get up.
The Start menu finds "--" pageant "
In the lower right corner of Windows, locate the pageant icon and double-click Open
Click "Add Key" to add the. PPK private key file that you just generated
Now SSH key configuration is complete, the future can be happy to push files
2. Right-click in the created warehouse directory and select "Git Clone" from the right-click menu.
Fill in the URL of the warehouse
Description: The URL is from the repository of GitHub, such as location, pay attention to choose SSH instead of HTTPS, or the last step of the operation is in vain
When the following appears, congratulations you have successfully cloned the remote repository from GitHub to your local, to see if the file is the same (^-^)!!
My Python path to growth---GitHub using clone github (SSH key configuration)