终端输入:
git --hepl
报错
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
需要安装 xcode-selcet
执行 xcode-select –install 安装 command line developer tools
xcode-select --install
完工!