macOS Catalinaにアップデート後 git --versionすると下記のxcrunエラーになります。
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun |
対処方
xcode-select --install
|
その後、git --version コマンドを使うと
git version 2.21.0 (Apple Git-122) |
正常にgitが使えました。