标签:
如果直接安装git,则会出现如下错误:
$ git xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
打开Finder->GoTo
输入:
/System/Library/CoreServices
打开 Install Command Line Developer Tools.app
等安装完毕就可以使用git了
标签:
原文地址:http://www.cnblogs.com/wanshicheng/p/4868270.html