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

17-11-16 17:55 22728 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
请登录后发表评论 点击登录

文章归档

文章日历

2025 年 03 月
26 27 28 29 30 31 01
02 03 04 05 06 07 08
09 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
31 01 02 03 04 05 06

文章标签

最新评论

友情链接