On this page
  1. gitwriter
  2. Role
  3. Install
  4. Quickstart
  5. When to Reach for It
  6. Gotchas & Pitfalls
  7. Pairs With
  8. Metadata

gitwriter

Prev: parsethon | Up: projects | Next: shimify
Rel: wispsy, Tooling & Runtimes, gitdx
Ref: wispsy on GitHub
Tags: #public #wispsy #project #tooling #tier/specialized


Role

Safe, metadata-only Git history rewriting (0.1.0, Python 3.10+, zero runtime deps)—rewriting author, committer, or commit messages via git subprocess without touching trees or parent/merge structure, with expected-old-value checks and refs/gitwriter/backup/<ref> safety backups.

Install

python -m pip install gitwriter

Quickstart

from gitwriter import GitWriter, ProposedEdit, RewritePlan

w = GitWriter(".")
root = w.snapshot("main").root
plan = RewritePlan(root, [
    ProposedEdit(commit, "author", "New Name <new@example.com>", expected_old_value="Old Name <old@example.com>"),
])
w.verify(plan, w.build(plan))
w.apply("main", plan)
# CLI subcommands: snapshot, propose, preview, build, verify, apply
gitwriter --help

When to Reach for It

Gotchas & Pitfalls

Pairs With


Metadata

type: project-card
slug: gitwriter
org: wispsy
repo: wispsy/gitwriter
package: gitwriter
version: 0.1.0
requires_python: ">=3.10"
layer: tooling
topic: wispsy-tooling
status: active
language: python
source_docs: README.md, docs/

Linked from

Related notes