Mac OSX 升级系统后 Git 出现 Error Running Git

2017-11-16 17:55:28 23432 0 技术文章

Mac 更新系统后 Git 不能用,提示信息如下:

errors while executing git -- version. exitCode=1 
errors: xcrun: error : invalid active developer path(/Library/Developer/CommandLineTools),missing xcrun at:
/Library/Developer/CommandLineTools/usr/bin/xcrun

解决办法:

xcode-select --install
      没有找到数据。
    您的邮箱不会被公开