Skip to main content

Efficiently update, split, and rearrange git commits

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

git_revise-0.8.0.tar.gz (24.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

git_revise-0.8.0-py3-none-any.whl (27.0 kB view details)

Uploaded Python 3

File details

Details for the file git_revise-0.8.0.tar.gz.

File metadata

  • Download URL: git_revise-0.8.0.tar.gz
  • Upload date:
  • Size: 24.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.14

File hashes

Hashes for git_revise-0.8.0.tar.gz
Algorithm Hash digest
SHA256 3239b1809cd659b33f6f323d3bfca5c7e3a9eb2eace223cf63b346f91c8c831c
MD5 d1d34e2046a03b40e3e2a688d58c7ae6
BLAKE2b-256 b751771e8ecd76847a6e822d40e070604eb3d916bf25f73b369417a9789103d5

See more details on using hashes here.

File details

Details for the file git_revise-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: git_revise-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 27.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.14

File hashes

Hashes for git_revise-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f7191ebd6e93952b2bd96cf24ab2255092f453231b406a9a9ab4ad517440baf9
MD5 3af7f00009300b619e75f3d9ab90618c
BLAKE2b-256 8f66c9d9d39245b430044db0c720f4ec067c0a366eea9d30e529dd3f69863d4e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page