|
Home | Features | Screenshots | Demo | Support | Documentation |
Pulling the Latest Changes into your Fork
Just a quick writeup for those of you you who have a Spree fork and you want to grab the latest changes (since the point of your fork.) Run the following git commands from inside your local fork.
git remote add spree-github git://github.com/schof/spree.git git checkout -b spree-official/master git pull spree-github master git checkout master git merge spree-official/master
This creates a branch before merging. That’s the absolute safest way to do it. If there are conflicts and you don’t want to deal with them you can just switch back to your main branch and delete the spree-official/master branch.
The shortcut way to do this (with no special branch) is as follows
git remote add spree-github git://github.com/schof/spree.git git pull spree-github master
You can find this and other git cheats in the brand new Git Cheat Sheet.
