Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
sudo rm -rf /usr/local/git /etc/paths.d/git /etc/manpaths.d/git
share|improve this answer

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/bin/git*
  • INSTALL_PREFIX/libexec
share|improve this answer

If you installed Git from, 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
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.