git installation and use of Mac system

Source: Internet
Author: User

1. First download Https://git-scm.com/download/mac on official website2. Then install git3 Set the user name and email for git:$ git config--global user.name "xxxxx"$ git config--global user.email "[email protected]"4. Generate SSH Key procedure: 1> Input command: CD ~/.ssh 2> have the above folder then backup Delete, we create a new key$ ssh-keygen-t rsa-c "[email protected]"Finally, two files were obtained: Id_rsa and id_rsa.pub3. Add encryption key to SSH:ssh-add id_rsa 4. Add the SSH public key to GitHub and the"Id_rsa.pub" inside the public keys. 5 Installing the source tree clientHttps://downloads.atlassian.com/software/sourcetree/SourceTree_2.3.2.zip

git installation and use of Mac system

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.