git: missing xcrun

Had this problem after the macOS update:

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

simply do:
xcode-select --install

that will download and install the xcode (xcrun)
You should be able to do git as usual

Advertisements

Github commit

just because I forget the basics sometimes..

adila$ git commit -a -m "the message"
adila$ git push origin master