Our workflow is based on github flow. This document provides some particulars, as well as a quick reference for some common operations.
Per the above document, code review happens via github's "pull
request" mechanism. After the pull request has been created, at least
one person must then sign off on the change, after which anyone may
merge it into devel
.
Documentation works the same way, but for very trivial changes, it is acceptable to bypass this process.
The MOC workflow is as follows:
-
Create a new local branch:
git branch -b NEWBRANCH
-
Do your commits
-
Push back to github, on a new remote branch with the same name:
git push -u origin NEWBRANCH
the
-u
sets up a correspondence between the local and remote branches; thereafter you can just typegit push
. -
Go to github and submit a pull request to the devel branch for comments.