My Python path to growth---GitHub using clone github (SSH key configuration)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.