Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools

Louise Shearer
Louise Shearer
1,967 Points

How to uninstall Git

I'd like to uninstall Git, which I installed using the graphical Git OSX installer as I'm not very confident with the command line. The installer README.txt says to uninstall simply 'run the provided uninstall.sh script in this disk image.' How exactly would I do this?

3 Answers

If you are on OS X you should have git installed already. Run 'git' on your terminal and see if it works. If it doesn't, let me know.

EDIT: I didnt realize your subject was UNinstall... Sorry. Btw, there is no big need of uninstalling GIT. it is very lightweight to your storage disk to be honest.

Louise Shearer
Louise Shearer
1,967 Points

Thanks for replying. I'm not really worried about it taking up space though. After install (it wasn't installed on my OSX for some reason) I encountered a git init problem similar to this one. I'm not sure I want to have to install Xcode to get round this problem though. I might try a GUI client instead and so would like to uninstall Git so I don't ever end up with multiple installs in the future.

Thanks

You do need command line tools for git. Anyways, using a client wont cause any problems if you have giy already installed.

Louise Shearer
Louise Shearer
1,967 Points

Ok, thanks very much for your help Alejandro.

If you are on a mac send the file/application that you want to uninstall to your trash. Then empty your trash.

Louise Shearer
Louise Shearer
1,967 Points

Thanks very much for your help. I wasn't sure if I could do this or whether I'd have to uninstall via the terminal.

Ur welcome :)