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

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. 🙂

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
Scroll to Top