A git tool that guides you through maintaining chains of branches so that you can easily create small PR's while continuing to develop features
- Visualize git history as a tree instead of a DAG
- Teaches how to leverage git to write better software
- Keep PRs small and focused by chaining branches together
Git Chains is a tool to help use a git branch chain workflow. The git branch chain workflow involves seperating unrelated changes into seperate branches to make code reviews small, and thereby both higher quality and faster. The most common case when you would want to seperate an already small feature into multiple branches is when some refactoring has to or should be done before implementing the feature. This common workflow is described as so:
- Start feature work on branch
feature
. - Realize some refactoring should be done
- Create
refactor
branch and commit refactor - Merge
refactor
intofeature
- Post PR for
refactor
- Continue working on
feature
... - Get feedback on
refactor
- Commit feedback to
refactor
- Merge
refactor
in tofeature
- Download the
dist
folder from this repo - Put it somewhere on your computer and add it to your path
- Done! Try running
git chains
from your repository