mac M1更新系统后终端git命令失效

310 阅读1分钟

执行git报错。。。

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

不用管为什么执行

xcode-select --install

解决!!!!