Git command issue on Mojave

Viewed 205

Recently I have updated Mojave and on accessing git commands I am getting below error message:

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

I got the solution for the same, write the below command in terminal, it will install a software and problem will be resolved:

xcode-select --install
Related