Rails Machine Wiki

Merging Changes From Github

To merge in changes Rails Machine has made to your code at Git Hub, please follow these instructions


git status
# On branch master
nothing to commit (working directory clean)


git checkout master                 # switch to the 'master' branch
git diff ..railsmachine/master      # peview the changes
git merge railsmachine/master       # perform the merge
git status                          # ensure there are no conflicts
rake                                # run your test suite
git push origin master              # push to your origin 


git checkout production             # switch to the 'production' branch
git diff ..railsmachine/master      # peview the changes
git merge railsmachine/master       # perform the merge
git status                          # ensure there are no conflicts
rake                                # run your test suite
git push origin production          # push to your origin

Conflicts

Please refer to the git-merge documentation for a great guide to git conflict resolution.

Meta