Code Review Rangiri
Setup
This is part of a broader set of tools used to make it easier to split one large change into many.
Move these two commands into a user-writable bin
folder (I personally user ~/bin
, but you may prefer /usr/local/bin
or similar).
Usage
To start dicing, run git set-grab-head <ref-to-full-commit>
. Then, as you build out your chain of commits, you can use git grab <file> <file> ...
to copy state from the grab head to the local index.
Rebasing
Maintaining a chain of PRs in GitHub is annoying, so I made a utility called git rebase-chain
to assist. You can install it with pip install git-rebase-chain
.
For more documentation, see https://github.com/zwade/git-rebase-chain