Git on Snow Leopard02 Nov 2009
I've had a GitHub account for months, but I've yet to use it. After I mentionined on Twitter that I might start using it, the response was very positive. People really love Git and GitHub both.
Unsurprisingly, my Mac didn't already have
git. (It's not part of the developer tools either.) GitHub has a nice help page on installing it, including one specifically on compiling from source. I chose the latter.
GitHub's help page on compiling from source is thorough enough to make it seem complicated. To show just how simple it is, here's exactly what I did:
curl -O http://kernel.org/pub/software/scm/git/git-126.96.36.199.tar.gz
tar -xvzf git-188.8.131.52.tar.gz
sudo make install prefix=/usr/local
GitHub provides very helpful instructions when you create a new project. For my new getFavicon project, the instructions were as follows:
git add README
git commit -m 'first commit'
git remote add origin email@example.com:shiflett/getFavicon.git
git push origin master
If only discovering favicons were this easy! :-)