Git doesn’t work after upgrading Mac OS X El Capitain

04. October 2015 SysAdmin 0

Issue

– Git doesn’t work after upgrading Mac OS to X El Capitain
– Output when you run git

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

Solution

– run the following command as a user
xcode-select --install
– This will pop-up a window and continue with it.
– Once finished, run the git command again.
– You are done. 🙂


Leave a Reply

Your email address will not be published.