I've installed git on my mac, but I don't know how to completly remove it, because I want to reinstall it again...any tips?
3 Answers
It really depends on how you installed it.
Places to look for git:
INSTALL_PREFIX=/usr/local in my case (perhaps /opt/local or something else)
- INSTALL_PREFIX/git/
- INSTALL_PREFIX/bin/git*
- INSTALL_PREFIX/libexec
- INSTALL_PREFIX/share
If you installed Git from code.google.com, you can follow the official uninstall instructions:
sudo rm -rf /usr/local/git /etc/paths.d/git /etc/manpaths.d/git
If you installed it through the Fink package manager, you can remove git with:
fink remove git