git-revise

by mystor

mystor /git-revise

A handy tool for doing efficient in-memory commit rebases & fixups

467 Stars 21 Forks Last release: Not found MIT License 163 Commits 10 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

git revise

Build Status PyPi Documentation Status

git revise
is a
git
subcommand to efficiently update, split, and rearrange commits. It is heavily inspired by
git rebase
, however it tries to be more efficient and ergonomic for patch-stack oriented workflows.

By default,

git revise
will apply staged changes to a target commit, then update
HEAD
to point at the revised history. It also supports splitting commits and rewording commit messages.

Unlike

git rebase
,
git revise
avoids modifying the working directory or the index state, performing all merges in-memory and only writing them when necessary. This allows it to be significantly faster on large codebases and avoids unnecessarily invalidating builds.

Install

$ pip install --user git-revise

Various people have also packaged

git revise
for platform-specific package managers (Thanks!)

macOS Homebrew

$ brew install git-revise

Fedora

$ dnf install git-revise

Documentation

Documentation, including usage and examples, is hosted on Read the Docs.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.