git-for-lieutenants
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
git-for-lieutenants [2013/01/09 12:04] – milan | git-for-lieutenants [2013/05/03 11:07] – Added section on merging branches bp | ||
---|---|---|---|
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