Im using GIT and am trying to push my code and getting the following error when using the Terminal.
The command I tried using was:
git branch Networking
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
seems like this problem caused after I upgrade my OSX to El Capitan
the solution is very simple, open your terminal and run this
After installation, my
/Library/Developer/CommandLineTools/usr/bin directory reappeared and
git started working again.