Set the GitHub key memo

Source: Internet
Author: User

Recently, SVN switched to git for development.CodeManagement tools. Because it is troublesome to set up git on a local Windows Server, free GitHub is used as the server. Of course, the free version of GitHub must be open-source.Source codeYou must pay.

To use GitHub, you must first use the command in the GIT bash command line tool to generate the public key and private key, and then upload the public key to GitHub to upload the code locally. In this way, you need to use the command line to complete all operations, but if you have a headache with memory commands, you can use tortoisegit to simplify the operation. When using tortoisegit, you must specify the path of the local private key. However, because the format of the private key used by tortoisegit is different from the format generated by using the GIT bash command, tortoisegit cannot be used directly.

 

The method I used is as follows:

1. The GIT bash command line tool generates a set of public and private keys.

2. Use puttygen tool of tortoisegit to generate a set of public and private keys.

3. Extract the format of the public key generated by git bash, and upload it to GitHub in combination with the public key ciphertext generated by puttygen.

4. Set the private key file (. PPK) generated by tortoisegit using puttygen ).

 

We hereby make a record to avoid forgetting.

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.