El capitanでgitがエラーになる場合の対処

$ git
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
gitを使うと上記のようなエラーが出る場合、次のコマンドを実行する。
xcode-select --install

0 件のコメント: