With Git Barber, declare a base branch for a big feature. Treat this branch as you would treat your repository's main development branch: Only merge reviewed changes to the base branch
git-barber declare-base
A sub branch is pretty much a normal branch. It can be a direct child of the base branch, or can be deeply nested within it. The goal is to create a separate sub branch for each atomic change you make, resulting in many small changes that can be easily reviewed by separate people.
git-barber branch
One of the biggest pain points of nesting branches is the difficulty of merging changes from the main branch down through the nested branches. Git Barber solves this by providing a
git-barber synccommand, which will merge changes from your branch of choice to all of its nested sub branches.
You can easily view and even checkout any branches that you declared/created using Git Barber with:
git-barber statusand
git-barber checkout