Mac OS: git was broken after last update


~ % git
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

How to fix (worked for me):

run next commands in the terminal

xcode-select --install
sudo xcode-select --reset


Leave a Reply

Your email address will not be published. Required fields are marked *

Enter Captcha Here :