今天更新了mac系统,然后就踩了这个坑。
can't start git: /usr/bin/git
probably the path to git executable is not valid . `fix it`.
- 1
- 2
errors while executing git -- version. exitCode=1
errors: xcrun: error : invalid active developer path(/library/developer/commandlinetools),missing xcrun at:
/library/developer/commandlinetools.usr/bin/xcrun
- 1
- 2
- 3
xcode-select --install