git-for-lieutenants
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
git-for-lieutenants [2012/11/02 11:34] – created bp | git-for-lieutenants [2017/11/01 09:23] (current) – bp | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | This page contains an instructions and guidelines for lieutenants. Lieutenants are experianced developpers | + | This page contains an instructions and guidelines for lieutenants. Lieutenants are experienced developers |
- | ====== Push access to reference repository ====== | + | :!: Remember: As Lieutenant you are responsible for the project, so you have to make sure, that the contributed work meets all requirements: |
- | Lieutenants should use SSH protocol to access | + | * [[coding-conventions|oofem coding conventions]] have been followed |
- | To grant ssh access, thaay have to send their public ssh key(s) (see http://git-scm.com/ | + | * [[coding-conventions# |
+ | * sufficient documentation and internal tests provided | ||
- | Lieutenants clone oofem repository using ssh protocol: | + | ====== |
- | git clone git@www.oofem.org:/ | + | Reviews |
- | + | ||
- | ====== | + | |
- | On the reference repository, two main branches exist: | + | |
- | * '' | + | |
- | * '' | + | |
- | + | ||
- | Individual developpers typically clone the main repository, create a topic branch, derived from '' | + | |
- | + | ||
- | The sequence looks basically like this: | + | |
- | + | ||
- | # clone reference repo | + | |
- | $ git clone http:// | + | |
- | $ cd oofem.git | + | |
- | # track remote develop branch on reference repo; it will became active one | + | |
- | $ git checkout -b develop origin/ | + | |
- | # create a new brach for a new development | + | |
- | $ git checkout -b featureA | + | |
- | $ (work) | + | |
- | $ git commit | + | |
- | $ (work) | + | |
- | $ git commit | + | |
- | + | ||
- | Now you have your commits that you want to send to the maintainers. | + | |
- | **It is strongly recommended to use rebase -i to squash your work down to a single commit, or rearrange | + | |
- | + | ||
- | The user use git format-patch to generate the mbox-formatted files. | + | |
- | ====== Applying Patches from E-mail ====== | + | |
- | If you receive a patch over e-mail | + | |
+ | * [[https:// | ||
+ | * [[https:// | ||
git-for-lieutenants.1351852447.txt.gz · Last modified: 2012/11/02 11:34 by bp