0%

MacOS git clone 错误

起因

使用git clone的时候,提示xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun 错误

解决办法

重装xcode command line

1
xcode-select --install