can't start git:usr/bin/git
probably the path to git executable is not valid
出现这个问题是因为该目录下的git无法执行,下面说一下解决方法
在终端界面输入sudo
/usr/bin/git这个命令,如果提示你
xcrun: error: active developer path ("/Volumes/Xcode/Xcode.app/Contents/Developer") does not exist, use xcode-select to change
这句话,在下面继续输入命令
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
它会提示你下载一个东西,下完以后就ok了。
网友评论