Branches a way for users to independently work on changes to a document without
affecting other branches of the document. When a document is created it has a
default main
branch. Users are able to create branches to isolate changes for
review before merging.
Default branch
The default branch is a special protected branch that is created for any new
document. This is usually the main
branch, and can be customised in the
organisation settings.
The default branch for any document can be changed in the document settings.
Protected branches
Branches can be protected to prevent users from staging, committing, or merging changes to the protected document branch.
Admins may want to protect the default
branch of a document to control
updates to the default
branch by users while still allowing users to make
updates to their own branch and merging after the changes to the document have
been reviewed.
Users with the Document Admin permission are not subject to branch protection.
Branching a document
-
Click on the menu button to open the menu
-
Ensure you have an organisation selected
-
Click on
Documents
underEngineering
-
Click on any document to view the document overview
-
Click on the branch drop down menu
-
Click
Create new branch...
-
Enter a
Brnahc name
for the new branch to be created, confirm theSource branch
and clickCreate
Changing the default branch for a document
-
Click on the menu button to open the menu
-
Ensure you have an organisation selected
-
Click on
Documents
underEngineering
-
Click on any document to view the document overview
-
Click on the
Settings
tab -
Change the new default branch in the
Default branch
drop down menu -
Click
Save