Help us understand the problem. What is going on with this article?

El Capitanにしたらgitコマンド(CUI)が動かなくなった。

More than 5 years have passed since last update.
El Capitanにアップデートした後、gitコマンドが以下のエラーを吐いて動かなくなった。
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

Terminalからxcode-selectをインストールしたら正常に動き出した。

xcode-select --install
Ys_Jn
初心者
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away