Git 升级后无效 Mac OS X El Capitan
Git doesn't work after upgrading Mac OS X El Capitan
Git 在升级 Mac OS X El Capitan 后不起作用。
安装 El Capitan 后,我在执行 git 命令时遇到此错误:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
感谢 Nafsaka 的精彩报道。
解决方法如下:通过终端重新安装Xcode命令行工具
xcode-select --install
Git 在升级 Mac OS X El Capitan 后不起作用。
安装 El Capitan 后,我在执行 git 命令时遇到此错误:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
感谢 Nafsaka 的精彩报道。
解决方法如下:通过终端重新安装Xcode命令行工具
xcode-select --install