git-for-lieutenants
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
git-for-lieutenants [2012/12/19 10:34] – [Applying Patches from E-mail] milan | git-for-lieutenants [2013/05/03 11:07] – Added section on merging branches 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 |
:!: Remember: As Lieutenant you are responsible for the project, so you have to make sure, that the contributed work meets all requirements: | :!: Remember: As Lieutenant you are responsible for the project, so you have to make sure, that the contributed work meets all requirements: | ||
Line 17: | Line 17: | ||
* '' | * '' | ||
- | Individual | + | Individual |
The sequence looks basically like this: | The sequence looks basically like this: | ||
Line 37: | Line 37: | ||
The user use git format-patch to generate the mbox-formatted files. | The user use git format-patch to generate the mbox-formatted files. | ||
====== Applying Patches from E-mail ====== | ====== Applying Patches from E-mail ====== | ||
- | If you receive a patch over e-mail that you need to integrate into your project, you need to apply the patch in your topic branch to evaluate it. Please see detailed | + | If you receive a patch over e-mail that you need to integrate into your project, you need to apply the patch in your topic branch to evaluate it. Please see detailed |
The Lieutenants of the Git project tends to namespace these branches as well — such as c_name/ | The Lieutenants of the Git project tends to namespace these branches as well — such as c_name/ | ||
Line 90: | Line 90: | ||
When all the patches for your topic are applied and committed into your branch, you can choose whether and how to integrate them into a develop reference branch. | When all the patches for your topic are applied and committed into your branch, you can choose whether and how to integrate them into a develop reference branch. | ||
+ | |||
+ | To merge changes made in c_name/ | ||
+ | |||
+ | $ git checkout master | ||
+ | $ git merge c_name/ | ||
For example, once you merged all patches to a '' | For example, once you merged all patches to a '' | ||
Line 95: | Line 100: | ||
$ git push origin master | $ git push origin master | ||
+ | Finally, the c_name/ | ||
+ | $ git branch -d c_name/ | ||
====== Merging workflow ====== | ====== Merging workflow ====== | ||
In oofem project, we have two long-running branches, master and stable. '' | In oofem project, we have two long-running branches, master and stable. '' | ||
git-for-lieutenants.txt · Last modified: 2017/11/01 09:23 by bp