Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to uninstall Git (Apple Git-75) from Mac?

I am unable to uninstall Git from my Mac. I am running macOS Sierra. I have tried all solutions available, but can't seem to figure out how to uninstall Git from my Mac.

Here is the screenshot of the current version of Git installed on my Mac.

https://i.stack.imgur.com/EgrAL.png

Thanks.

like image 628
Captain Cold Avatar asked Nov 24 '16 02:11

Captain Cold


1 Answers

just install the latest git by brew

brew install git

then

PATH=/usr/local/git/bin:$PATH

the new git version will replace apple git as default

like image 111
Hello Wor1d Avatar answered Oct 11 '22 17:10

Hello Wor1d