webstorm提示
can't start git:usr/bin/git
probably the path to git executable is not valid
这种情况可能出现在系统更新之后
出现这个问题是因为该目录下git无法执行,下面说一下解决办法
一.在终端界面输入 sudo
二.user/bin/git
三.
1)提示invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
2)输入 sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
3)输入电脑密码--------game over
git默认路径是在user/bin/git,如果终端输入user/bin/git没有反应说明路径不正确输入which git 查询git路径
在webstorm中设置git路径即可
再打开webstorm 提示消失