Better instructions for keeping a fork updated.
This commit is contained in:
parent
ead8c516ed
commit
57949f53f9
1 changed files with 6 additions and 6 deletions
12
README.md
12
README.md
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue