Mac升级系统Git报错

更新系统后输入git命令显示

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

解决方法

终端输入以下命令

xcode-select --install
原文地址:https://www.cnblogs.com/WPF0414/p/11638267.html