Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git doesn't work after upgrading Mac OS X El Capitan [duplicate]

Git doesn't work after upgrading Mac OS X El Capitan.

After installing El Capitan, I have this error when I'm doing a git command:

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun 
like image 731
Kevin Avatar asked Oct 03 '15 16:10

Kevin


People also ask

How do I update Git on Mac without brewing?

The easiest way to update Git on Mac is to use the official installer. Download the installation file from the Git website. Run the installation and follow the install wizard to update Git to the latest version. Note: Using the install wizard to update Git overwrites the current installation.

What is the current version for Git Apple?

The latest version is 2.33.0, which was released about 1 year ago, on 2021-08-30.


1 Answers

Thanks Nafsaka for the highlight.

Here is the solution: Reinstalling Xcode Command Line Tools via Terminal

xcode-select --install 
like image 144
Kevin Avatar answered Oct 04 '22 10:10

Kevin