Git-knife is a newly released desktop graphical user interface (GUI) application designed for editing Git commit metadata. It provides a spreadsheet-like interface for modifying commit messages, author names, author emails, author dates, committer names, committer emails, and committer dates.
Existing Git GUIs, such as GitKraken and Sublime Merge, primarily focus on reordering and rewording commits but often treat commit dates as immutable and do not expose committer date or author identity for arbitrary commits. Command-line tools like `git-filter-repo` or `git rebase` with environment tricks can rewrite this metadata but lack a graphical interface. Git-knife fills this gap by offering a GUI for these advanced editing capabilities.
The tool operates by shelling out to the system Git command-line interface and rebuilding commits using `git commit-tree`, ensuring that file contents remain unchanged by reusing each commit's original tree. Key features include the ability to open a repository and list commits, edit various metadata fields, perform bulk find and replace operations using literal or regex patterns, and preview all changes before applying them. It also creates an automatic backup reference before each rewrite and warns users when a rewrite would affect already-pushed history.
Git-knife is built using Node.js, pnpm, and Rust with Tauri v2, supporting macOS, Linux, and Windows. While it offers extensive metadata editing, the current version does not support reordering, squashing, or dropping commits, nor does it handle merge rewriting, staging, branches, or remotes. Merge commits are locked and not editable in this version.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
Git-knife is a new desktop GUI application that allows users to edit Git commit messages, authors, and dates like a spreadsheet. This tool addresses a gap in existing Git GUIs by providing a graphical interface for bulk editing commit metadata, which previously required command-line tools.