mac系统升级后git报错
2022-04-08 本文已影响0人
小小_128
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
vscode中找不到关联的git也没办法切换分支了,在终端执行一下下面这个命令就好啦
xcode-select --install