git--config sublime text git under window

Source: Internet
Author: User
Tags sublime text

Global configuration

    1. git config--global user.name "account name"
    2. git config--global use r.email ' account mailbox '
    3. to generate SSH, command: ssh-keygen-t RSA

However, the SSH command is not available on the window terminal, only open git-bash.exe operation under the GIT installation directory, the steps are as follows:

Git installation directory,

Find Git-bash.exe

Input:ssh-keygen-t rsa-c "[email protected]"

Administrator/
$ ssh-keygen-t rsa-c "[email protected]"
Generating public/private RSA key pair.
Enter file in which to save the key (/C/USERS/ADMINISTRATOR/.SSH/ID_RSA): Here you need to enter a password to connect to GitHub need to use
Enter passphrase (empty for no passphrase):
Enter same Passphrase again:
Passphrases does not match. Try again.
Enter passphrase (empty for no passphrase):
Enter same Passphrase again:
Your identification have been saved in /c/users/administrator/.ssh/id_rsa.
Your public key had been saved in /c/users/administrator/.ssh/id_rsa.pub.

Then create an SSH on your github

Then Git-bush.exe, enter the following command:

# SSH [email protected]

Then, Enter passphrase for key '/c/users/administrator/.ssh/id_rsa ' will appear:

I asked you to enter the password you entered when you just generated sshkey.

The following occurs, indicating a successful connection.

git--config sublime text git under window

Related Article

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.