标签:
一,安装git
先安装homebrew.在终端输入命令:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)".即可安装homebrew.
通过homebrew安装git:brew install git.
安装过后,输入命令:brew list.下方会有git出现.证明git安装完毕!
标签:
原文地址:http://www.cnblogs.com/iOS771722918/p/git.html