Efficiently update, split, and rearrange git commits
Project description
git revise
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for git_revise-0.7.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f99b876883aee2d85f2dfbc196270b5d39a0b7ebb0c29e774049feecb72ff20 |
|
MD5 | aa55de619390c5f4b192592ff93029ec |
|
BLAKE2b-256 | 85b7f65701ee16faf66854a03b8c32ae7a1d4da33f978a6aca904cdddb5d43a0 |