sr3
sr3

Reputation: 399

How do I completely remove Github for Mac along with its Git installation and all?

I'm new to OSX, so I don't want to just go around deleting things without really knowing what's up. What's the best way to go about obliterating Github and its Git from my machine?

Thanks!

Upvotes: 2

Views: 12927

Answers (2)

sr3
sr3

Reputation: 399

I belive this Github gist worked:

https://gist.github.com/naomik/11245234

Upvotes: 2

Thomas Ayoub
Thomas Ayoub

Reputation: 29441

To delete git, just drag and drop the folder from the /Application/Git.app to the trash bin. Then open a Terminal (/Application/Utilities/Terminal) and copy paste this lines (one by one) :

rm -rf /usr/local/git
rm /etc/paths.d/git
rm /etc/manpaths.d/git

Then restart your computer and voilà

Upvotes: 2

Related Questions