Skip to content
Where new products land first

Git-knife

A desktop app that rewrites git commit dates and authors.

Dev Tools12d ago
Category
Dev Tools
Website
github.com
Language
English
Listed
12d ago
Stars
430
Forks
16

TheRealYT/git-knife ↗· TypeScript· Last commit 9d ago

git-knife opens a local repository and puts commit metadata in an editable table: the message, the author and committer names and emails, and both the author date and the commit date. Graphical clients reword and reorder commits happily but treat dates as fixed, while the command line tools that can rewrite them come with no interface at all. Under the hood nothing is reimplemented; it shells out to the system git CLI and rebuilds each commit with commit-tree, reusing the original tree. Branches are edited by ref without a checkout, every change is previewed before it is applied, a backup ref is saved for one click restore, rewrites that reach already pushed commits raise a warning, and commits whose signatures would be stripped can be re-signed with your configured key. Bulk find and replace, literal or regex, fixes a wrong email across an entire history in one pass. Nothing about the tree changes; only the metadata does.

Like this product?