Better instructions for keeping a fork updated.

This commit is contained in:
Dan Croak 2011-05-02 08:33:53 -07:00
parent ead8c516ed
commit 57949f53f9

View file

@ -25,16 +25,16 @@ Track thoughtbot/dotfiles
One time:
git remote add thoughtbot git@github.com:thoughtbot/dotfiles.git
git fetch thoughtbot
git checkout -b thoughtbot thoughtbot/master
git remote add upstream git@github.com:thoughtbot/dotfiles.git
git fetch upstream
git checkout -b upstream upstream/master
Update
------
Each time you want to update:
git checkout thoughtbot
git pull --rebase
git checkout upstream
git pull
git checkout master
git merge thoughtbot
git rebase upstream