I don’t currently own a linux PC. My old one crashed. Never bought a new one. I currently do all my fun open source stuff on a Mac laptop (10.6.4 if you care). The only problem with that is almost all of the neat open source stuff you find on the web is for Linux. Including the help documentation and such. Which works a lot of times, Mac is UNIX based after all, but then there are always those cases where it doesn’t.
I originally installed Git on my laptop when it was Git version 1.5.x. They’re currently rocking 1.7.x. Well needless to say a lot has changed; including apparently where they install the stupid program at. I have been running into all kinds of issues with Git recently. Craziness like commands straight from the Git documentation online not working. Stuff like,
git remote add --mirror ....
Yeah. That should work. It’s documented. Well it didn’t. So I downloaded the latest version of Git and installed it. Then randomly I did a git -v. It still said 1.5.x!! Here’s how I fixed it.
sudo rm -rf /usr/bin/git* sudo rm -rf /usr/local/bin/git* sudo rm -rf /usr/local/git sudo rm /etc/paths.d/git sudo rm /etc/manpaths.d/git
Then I reinstalled git. Hope that helps someone!
Enjoy the Penguins!