Say goodbye to oversized PRs 👋

Git Barber helps you manage nested branches, so you can split your work into smaller, manageable changes.
Slide 1
Slide 2
npm i -g git-barber

Base branch - your own temporary dev branch

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

Sub branches - small, manageable changes

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

Stay in sync with the dev 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 sync
command, which will merge changes from your branch of choice to all of its nested sub branches.

Get a clear overview of your branches

You can easily view and even checkout any branches that you declared/created using Git Barber with:

git-barber status
and
git-barber checkout