日志Git重装系统提示没有 Git 的解决方式轩辕十四2018-01-292024-01-22执行 git 命令后,提示信息如下: 1xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun 运行如下命令: 1xcode-select --install 等安装好了之后,git 就又可以用了。 如果不行可以试试下面的命令: 1xcode-select --reset