1. Templates
  2. Branches

Templates

Branches

Branches refer to the different versions of a template that are created to work on new features or bug fixes.

Stubber uses branches to isolate development work without affecting the live version of a template.
Each template has two default branches, draft and live.

The draft branch is where all development work is done.
The live branch is the version of the template that is currently live and being used by stubs.

Publish changes to the live branch

Publishing To Live

When you make changes to a template, they won't affect any live stubs until you publish them to the live branch.

Once you publish, your changes will be copied from the draft branch into the live branch, and all stubs using the template will be updated to use the new version.