Fork this repo on Github.
Clone your fork (replace
your-github-name with your Github name).
git clone firstname.lastname@example.org:your-github-name/dotfiles.git cd dotfiles
Run the installer.
It creates symlinks for all dotfiles in your home directory. You can safely run this file multiple times to update.
zsh dotfiles. To switch your shell to
zsh on OS X:
chsh -s /bin/zsh
Your master branch is meant for your customizations. Use the
to get thoughtbot's updates.
Set up upstream
Do this once:
git remote add upstream email@example.com:thoughtbot/dotfiles.git git fetch upstream git checkout -b upstream upstream/master
Make changes in files that are not in thoughtbot's dotfiles.
For example, to customize your
zsh config, make your changes in
# RVM [[ -s '/Users/croaky/.rvm/scripts/rvm' ]] && source '/Users/croaky/.rvm/scripts/rvm' # recommended by brew doctor export PATH="/usr/local/bin:/usr/local/sbin:$PATH"
Commit those kinds of things in your master branch.
Then, each time you want to update thoughtbot's changes.
git checkout upstream git pull git checkout master git rebase upstream