Skip to main content

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.

Metadata

Release files for git-revise 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for git-revise 0.8.0
File Size Uploaded
git_revise-0.8.0.tar.gz 24.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for git-revise 0.8.0
File Interpreter ABI Platform
git_revise-0.8.0-py3-none-any.whl Python 3 none any Details

Total release size: 50.9 kB

Release files / git_revise-0.8.0.tar.gz

Download URL git_revise-0.8.0.tar.gz
Size 24.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3239b1809cd659b33f6f323d3bfca5c7e3a9eb2eace223cf63b346f91c8c831c
BLAKE2b-256 checksum
How to use checksums
b751771e8ecd76847a6e822d40e070604eb3d916bf25f73b369417a9789103d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.14

Release files / git_revise-0.8.0-py3-none-any.whl

Download URL git_revise-0.8.0-py3-none-any.whl
Size 27.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f7191ebd6e93952b2bd96cf24ab2255092f453231b406a9a9ab4ad517440baf9
BLAKE2b-256 checksum
How to use checksums
8f66c9d9d39245b430044db0c720f4ec067c0a366eea9d30e529dd3f69863d4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.14

Release history Release notifications | RSS feed

This release

0.8.0 This release

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page