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
File details
Details for the file git-revise-0.7.0.tar.gz
.
File metadata
- Download URL: git-revise-0.7.0.tar.gz
- Upload date:
- Size: 25.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.0.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af92ca2e7224c5e7ac2e16ed2f302dd36839a33521655c20fe0b7d693a1dc4c4 |
|
MD5 | 9164a84b1ab4f5a0358917deb6015863 |
|
BLAKE2b-256 | 99fe03e0afc973c19af8ebf9c7a4a090a974c0c39578b1d4082d201d126b7f9a |
File details
Details for the file git_revise-0.7.0-py3-none-any.whl
.
File metadata
- Download URL: git_revise-0.7.0-py3-none-any.whl
- Upload date:
- Size: 28.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.0.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f99b876883aee2d85f2dfbc196270b5d39a0b7ebb0c29e774049feecb72ff20 |
|
MD5 | aa55de619390c5f4b192592ff93029ec |
|
BLAKE2b-256 | 85b7f65701ee16faf66854a03b8c32ae7a1d4da33f978a6aca904cdddb5d43a0 |