MAC OSX installs Git

Source: Internet
Author: User

Download https://code.google.com/p/git-osx-installer/First

Install the console input git--version to see if it is installed

Generate SSH Key

Ssh-keygen-t rsa-c "Your_email"

Carriage return will appear

Generating public/private RSA key pair.

Enter file in which to save the key (/USERS/QIFENG/.SSH/ID_RSA): shinit_test

Enter passphrase (empty for no passphrase):

If the password is set, do not set it to enter

Your identification have been saved in Shinit_test.

Your public key had been saved in Shinit_test.pub.

Build completed, run the current directory of the command, native generated under home directory

Then add the private key

Ssh-add Shinit_test

Log on to GitHub add a key as a string in the Shinit_test.pub file

Test connection

SSH [email protected]

The authenticity of host ' github.com (192.30.252.129) ' can ' t be established.

RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.

Is you sure want to continue connecting (yes/no)? Yes

warning:permanently added ' github.com,192.30.252.129 ' (RSA) to the list of known hosts.

Connection to github.com closed.

MAC OSX installs Git

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.