Git for Mac Installation

Source: Internet
Author: User
Tags using git

Http://www.jianshu.com/p/d1420a4e1a87

Install Git

Before you start using Git, you need to install it on your computer. Even if it is already installed, it is best to upgrade it to the latest version. You can install through the package or other installer, or download the source code to compile the installation.

Official: https://git-scm.com/downloads/

Once the download is complete, double-click as normal software. DMG opens and double-clicks the. Pkg for installation.

Configuring SSH

1th step: view. SSH home Directory

Open terminal, enter command

cd ~/.ssh

2nd step: Create SSH Key.

In the user home directory, see if there is no. ssh directory, if there is, then look at this directory there are no id_rsa and id_rsa.pub these two files, if already have, you can skip to the next step. If not, create an SSH Key:

ssh-keygen -t rsa -C [email protected]

Git for Mac Installation

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.