commit-rewriter
Local web app for editing local commit messages to a Git repository.
Usage
uvx commit-rewriter /path/to/repository
Or omit the path if the repository is your current working directory.
By default, the app edits the latest 100 commits reachable from the local branch checked out when the server starts. Use --branch to select a different local branch:
uvx commit-rewriter /path/to/repository --branch my-feature
Defaults to running on http://127.0.0.1:8000 - use -p/--port 8002 to run on a different port.
Edit multiple commit messages using the web UI. When you apply them the tool will first create a branch to back up the repository prior to making the changes.
Installation
pip install commit-rewriter
# or
uv tool install commit-rewriter
Screenshot
Contributing
To run the tests:
uv run pytest
To re-take the screenshot using shot-scraper:
shot-scraper multi shots.yml
Metadata
Release files for commit-rewriter 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| commit_rewriter-0.2.tar.gz | 18.0 kB | With provenance | Details for commit_rewriter-0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| commit_rewriter-0.2-py3-none-any.whl | Python 3 | none | any | Details for commit_rewriter-0.2-py3-none-any.whl |
Total release size: 31.1 kB
Release files / commit_rewriter-0.2.tar.gz
| Download URL | commit_rewriter-0.2.tar.gz |
|---|---|
| Size | 18.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f7d699aeab9866b3841d7e4df538d4392ed0fe8b1de53fc62081355354f583ae
|
|
BLAKE2b-256 checksum How to use checksums |
adf38fcd79a65756c3a3b3c19acb40d67c6827f77b1c737c642a9ddbf8ce8259
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.
Transparency logRelease files / commit_rewriter-0.2-py3-none-any.whl
| Download URL | commit_rewriter-0.2-py3-none-any.whl |
|---|---|
| Size | 13.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6d9cde3cc4db2781802ef591a52b2e4d27684841413ea842ab1b34757cd23a5e
|
|
BLAKE2b-256 checksum How to use checksums |
fe8128e1393014f304120a628ca768c0c893ef1e5dc40bcb504410792cd22fd5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.
Transparency logSecurity for commit-rewriter 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for commit_rewriter-0.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.