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:
- The
mainbranch should always match the latest major (live) product module version . Whenever changes are merged intomain, themainbranch must be deployed by a Root team member to create a new live product module definition (major version). - Branches should be feature specific and follow this naming convention:
<author-name>/<description>
$ git checkout -b peter/feature-quote-validation- Pull requests should be thoroughly reviewed and tested before being merged into
main.
Read more about the live (major) and draft (minor) versions of a product module in the Product modules overview guide.
Updated 15 days ago