Merging is a way to encorporate changes from another document branch into the target document.
Merging uses a 3-way-merge to identify changes between the most recent common ancestor and applying the changes from the source document containing the changes to be merged into the target document. V-Raptor will record both the source and target branches as the parent revisions to the merged revision.
Merging is useful when working with branches allowing
changed made a user to be merged into the default
branch.
Merging a branch
-
With the target document branch open in the editor, click the
˅
arrow next toCommit
on theHome
tab -
Click
Merge branch...
-
Select a
Source branch
to merge into the target document branch
The source branch may be in the same document, or the document which the target document was forked from.
- Click
Merge
By default the
Merge to stage
option is selected. When merging to stage, the changes will be merged to the stage which can be previewed prior to committing the merge to the document revision history.
Changes can be merged directly to the document revision history by un-selecting
Merge to stage
Resolving a merge error
Should merging fail, the changes will be staged and you will need to resolve any errors before being able to complete the merge.
-
Click
Commit
on theHome
tab to bring up the commit modal -
Errors will be identified in the
Staged changes
section. Expand the errors until the tree is fully expanded and unstage errors from the commit. -
When all errors have been unstaged and a
Committ message
has been filled, thePush commit
button will be enabled. -
Click
Push commit
to complete the merge without the unstaged merge errors