Confirmed users
955
edits
| Line 174: | Line 174: | ||
Here an example how to land a patch from the '''feature''' branch onto '''master''': | Here an example how to land a patch from the '''feature''' branch onto '''master''': | ||
* git pull origin master # make sure master is up to date | |||
* git checkout feature | |||
* git rebase master # make sure patch is a strict descendant of master | |||
* '''TEST''' the patch by [https://wiki.mozilla.org/Auto-tools/Projects/MozBase#Running_the_tests running existent tests] | |||
* git checkout master | * git checkout master | ||
* git merge feature | |||
* git merge | |||
* git push git@github.com:mozilla/mozbase.git master | * git push git@github.com:mozilla/mozbase.git master | ||