事象
macOS Catalinaにアップデートした後、gitコマンドを実行したらエラーとなった
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
CommandLineToolsがないのかな???
解決方法
以下のコマンドを実行してCommandLineToolsをインストールした
xcode-select --install
実行結果は以下となる
xcode-select: note: install requested for command line developer tools
gitコマンドが使えるようになった!
$ git --version
git version 2.21.0 (Apple Git-122)
良かった良かったー