Based on Ryan Bates, Ryan Tomayko, and Sam Soffes.
I am running on Mac OS X 10.8.
$ cd ~
$ git init
$ git remote add origin git://github.com/samsoffes/dotfiles.git
$ git pull origin master
Please change the .gitconfig
so you don't commit everything as me. Everything else shouldn't need tweaking.
If you don't want to see Readme.markdown
in your home folder (it drives me nuts seeing it in there), just run this:
$ SetFile -a "V" ~/Readme.markdown
If you are annoyed by running git status
in your home directory and seeing a ton of stuff that isn't added (like I am), you can easily fix this:
$ echo '*' >> ~/.git/info/exclude
This will simply exclude everything. If you want to add a file, simply git add
it. (Thanks to Ryan Tomayko for this technique.)
# Install Xcode first
$ ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
Enjoy.