Git Doesn’t Work After Upgrading Mac OS X El Capitain

by Unix on October 4, 2015

After Apple released the new OS X El Capitan on Wednesday, Today I upgrade OSX Yosemite to El Capitain. But I see that Git doesn’t work after upgrading Mac OS X El Capitain.

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

I find a way to solve it. This is reinstall Xcode Command Line Tools. Open Terminal and type the following command

xcode-select --install

Leave a Comment

Previous post:

Next post: