MacのOSアップデートしたら、gitが動かなくなった。

MacのOSアップデートしたら、gitが動かなくなった。

git
Copied!
% git status []
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

このメッセージでそのままググったら、ズバリなQiitaが出てきた。

以下を実行すればよい。
command
Copied!
xcode-select --install

Powered by Helpfeel