Install Git on Mac

Source: Internet
Author: User

The Git installer for Mac so you used should has installed git into/usr/local/git. Check if/usr/local/git/bin isincluded inPATH.Runningecho $PATH From the terminal and make sure /usr/local/git/bin .

if not, you need to add it to your 

  1. Mount the Git-osx-installer disk image by double-clickingxxx.dmg
  2. Open Terminal
  3. TYPE 
  4. TYPE  ./setup git PATH for non-terminal programs.sh   and hits Enter to run the shell scrip t. 
  5. open a new Terminal and type  echo $PATH
  6. Confirm That's see in /usr/local/git/bin your PATH.
If you want to uninstall Git, you can follow the steps below:
  1. Open Terminal
  2. TYPE 
  3. ./uninstall.sh Type and hit Enter to run the shell script.

Install Git on Mac

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.