Mac Book Pro 升级Catalina后,git command line 不能使用,报错如下:
$ git remote -v
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
解决方式:
$ xcode-select --install
安装完成即可使用。