Skip to content

Commit ee2ec1b

Browse files
Merge pull request #35 from Emantor/doc/branch-on-branch
tips: document branches on branches tip
2 parents 1218d16 + 15e4d25 commit ee2ec1b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

doc/tips.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,16 @@ Example (with ``umpf-topic: v4.19/customers/foobar/topic/imx-poweroff``)::
4949

5050
This way renewed umpfs are independent of future updates of the
5151
``v4.19/topic/imx-poweroff`` topic branch.
52+
53+
Create branches based on other branches
54+
---------------------------------------
55+
56+
Sometimes it is necessary to separate changes from an existing branch into
57+
specfific bits for a single project. These changes should not be applied to all
58+
projects, but are necessary changes for this project to work. Additionally they
59+
are usually based on previous changes from another branch.
60+
61+
To ensure that ``umpf tag`` is able to resolve the branch dependencies, the
62+
required base branch needs to be merged in via ``umpf merge`` to ensure that the
63+
merge commit contains the correct ``umpf-merge-topic`` line. This way umpf can
64+
rebase your branch correctly during a tag operation.

0 commit comments

Comments
 (0)