升级mac系统后的git报错问题

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/pangjiaming99/article/details/85090615

升级了mac系统后,当使用git的时候报错了:

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

解决方法,重装xcode command line:

xcode-select --install

参考链接:https://www.jianshu.com/p/50b6771eb853

猜你喜欢

转载自blog.csdn.net/pangjiaming99/article/details/85090615