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.7.0.tar.gz (25.3 kB view details)

Uploaded Source

Built Distribution

git_revise-0.7.0-py3-none-any.whl (28.4 kB view details)

Uploaded Python 3

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

Hashes for git-revise-0.7.0.tar.gz
Algorithm Hash digest
SHA256 af92ca2e7224c5e7ac2e16ed2f302dd36839a33521655c20fe0b7d693a1dc4c4
MD5 9164a84b1ab4f5a0358917deb6015863
BLAKE2b-256 99fe03e0afc973c19af8ebf9c7a4a090a974c0c39578b1d4082d201d126b7f9a

See more details on using hashes here.

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

Hashes for git_revise-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f99b876883aee2d85f2dfbc196270b5d39a0b7ebb0c29e774049feecb72ff20
MD5 aa55de619390c5f4b192592ff93029ec
BLAKE2b-256 85b7f65701ee16faf66854a03b8c32ae7a1d4da33f978a6aca904cdddb5d43a0

See more details on using hashes here.

Supported by

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