Skip to main content

Simple CLI for interactive git rebase workflow.

Project description

Git rb

Ruff PyPI Latest Release License image Actions status

git-rb is a simple command-line tool to simplify interactive rebase workflow in Git, often I'd find my self copying hashes from git log output in order to paste into git rebase -i. This tools only purpose is to simplify that.

Code is self contained within main.py, so you could just copy the whole script.

Note: I had this a form of this script kicking around for a while and figured I'd try using Gemini CLI to do the rest. Results were mixed, I wasn't able to 'set and forget', but it was still useful.

Usage

.gitconfig

Typically I'll have the following in .gitconfig:

[alias]
  rb = !uvx git-rb

To provide alias git rb.

Example

Running this from sklearn gives:

Screenshot of git-rb's help message

Entering '6' in the prompt just runs git rebase -i <hash on line 6>, nothing fancy!

Screenshot of git-rb in action

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_rb-0.1.2.tar.gz (464.9 kB view details)

Uploaded Source

Built Distribution

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

git_rb-0.1.2-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file git_rb-0.1.2.tar.gz.

File metadata

  • Download URL: git_rb-0.1.2.tar.gz
  • Upload date:
  • Size: 464.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for git_rb-0.1.2.tar.gz
Algorithm Hash digest
SHA256 9d9a484fbce998cb65ae11921dc512094a3c38c095b24cb199201145ac8c0245
MD5 afac34b3090abb3060952239324f82b3
BLAKE2b-256 0d18be03ad014be2de67ab01b26dd14e6e145061b74697c1900323089217d33d

See more details on using hashes here.

Provenance

The following attestation bundles were made for git_rb-0.1.2.tar.gz:

Publisher: release.yml on geo7/git-rb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file git_rb-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: git_rb-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for git_rb-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c523fd2e6c7fc9a023bdad545686b413dbba7d219cb94967509cbc06fb65ba7d
MD5 54ff23b77188fcb613246e12a287b68b
BLAKE2b-256 f85b003a95296cb4751bae119df2f5245a4f853fbfbb6f9812cb177928065a68

See more details on using hashes here.

Provenance

The following attestation bundles were made for git_rb-0.1.2-py3-none-any.whl:

Publisher: release.yml on geo7/git-rb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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