Git workflow

How use Git to coordinate on product module updates

Overview

Building a product module on Root often requires multiple builders working on the same codebase. We use Git and GitHub to manage collaboration and version control.

We always follow these core principles when collaborating on product module development using Git:

  1. Themain branch should always match the latest major (live) product module version . Whenever changes are merged into main, the main branch must be deployed by a Root team member to create a new live product module definition (major version).
  2. Branches should be feature specific and follow this naming convention:<author-name>/<description>
$ git checkout -b peter/feature-quote-validation
  1. Pull requests should be thoroughly reviewed and tested before being merged intomain .

Read more about the live (major) and draft (minor) versions of a product module in the Product modules overview guide.