Git Finally Gets a History Command Worth Using

TL;DR
Git history command: how the experimental fixup, reword and split subcommands in Git 2.54 and 2.55 replace scary interactive rebases, and what developers think.
Last updated: July 14, 2026
Working with parallel changes in Git has always been painful. You juggle branches, run scary rebase -i commands, and pray nothing breaks. Git 2.54 (April 2026) and 2.55 (June 2026) introduced an experimental git history command that addresses these pain points directly.
What git history Actually Does#
The new command packages three common rebase workflows into dedicated subcommands: fixup, reword, and split. Each one handles a specific use case that previously required careful interactive rebasing.
Fixup applies staged changes to an old commit, then automatically rebases all dependent branches. The key difference from manual rebasing: it updates every local branch descended from the target commit, not just those in your active rebase range.
# Stage the fix
git add -p
# Apply it to an old commit
git history fixup abc123
Reword changes an old commit's message and rebuilds the stack above it. No need to touch your working directory or disrupt unrelated branches.
git history reword abc123
Split breaks one commit into two through an interactive hunk-selection process. This eliminates the gymnastics of using git rebase -i with edit to manually split commits.
git history split abc123
The Safety Guarantee#
All three operations are atomic. They refuse to run if conflicts would occur, which means they never leave your repository in a half-broken state. Compare this to interactive rebase, where a conflict mid-operation can leave you hunting for --abort while your working tree is in limbo.
What HN Is Saying#
The Hacker News discussion (337 points, 200+ comments) shows a split community.
The enthusiasts see this as Git finally catching up to tools like jj (Jujutsu). As one commenter summarized: "Newer versions of git implemented three really frequent use cases of git rebase --interactive as separate lower-friction commands."
The skeptics question the premise. One developer argued: "I like to be like an accountant. No editing history. Create a new commit to fix." Another game dev perspective: "This kind of repo defiling just gives me the willies. Instead of finding a common ancestor and altering it, just make the desired change upstream and merge it."
The practical users focused on specific wins. One noted that git history split will help juniors break up large PRs into smaller changes. Another appreciated git history reword for fixing typos in older commits without the full rebase workflow.
The debate around history editing versus append-only workflows reflects a longstanding divide. Teams that squash-merge before integrating often care less about commit hygiene during development. Teams that preserve history tend to want cleaner intermediate commits.
Comparison with jj#
Some commenters compared git history to jj, a Git-compatible version control system that takes a different approach to change management. jj treats working directory changes as automatic commits and makes rebasing more intuitive.
The difference: git history works within Git's existing model, while jj is a separate tool with its own mental model. For teams already invested in Git workflows, git history offers incremental improvement without requiring everyone to learn a new system.
The Conflict-Free Limitation#
A critical constraint: these commands only work when there are no conflicts. If your fixup would create a merge conflict, git history refuses to proceed. This is both a safety feature and a limitation - you cannot use it for complex history surgery where conflicts are inevitable.
For conflict-heavy rewrites, you still need interactive rebase with its full conflict resolution flow.
Should You Use It?#
The command is marked experimental, so behavior may change in future releases. That said, if your workflow involves frequent small fixes to old commits - fixing typos, adding missing imports, adjusting log messages - git history fixup is worth trying.
For teams that enforce commit message conventions, git history reword simplifies compliance fixes without requiring a full mental context switch into rebase mode.
Getting Started#
Check your Git version:
git --version
# Needs 2.54+ for reword/split, 2.55+ for fixup
Update if needed:
# macOS
brew upgrade git
# Ubuntu/Debian
sudo add-apt-repository ppa:git-core/ppa
sudo apt update && sudo apt install git
Then try it on a test repository before using it in production code.
FAQ#
What does the git history command do?#
git history is an experimental command that packages three common interactive rebase workflows into dedicated subcommands. fixup applies staged changes to an old commit and rebases every local branch descended from it, reword changes an old commit's message and rebuilds the stack above it, and split breaks one commit into two through interactive hunk selection.
Which Git version do I need for git history?#
You need Git 2.54 or later for git history reword and git history split, and Git 2.55 or later for git history fixup. Run git --version to check.
What happens if git history hits a merge conflict?#
It refuses to run. All three operations are atomic and only work when there are no conflicts, so they never leave your repository in a half-broken state. For conflict-heavy rewrites you still need git rebase -i with its full conflict resolution flow.
How does git history compare to jj?#
git history works within Git's existing model, while jj (Jujutsu) is a separate Git-compatible tool with its own mental model that treats working directory changes as automatic commits. For teams already invested in Git workflows, git history is an incremental improvement that does not require learning a new system.
Continue Reading#
- DevDigest OS: The Thesis Behind Treating an Empire as One Operating System
- Emacs 31 is Around the Corner: The Features Worth Daily Driving
- Entire Distributed Git Network: A Developer Guide to the Ex-GitHub CEO's Agent-Era Platform
Sources#
Get the next deep dive like this in your inbox
One email a week on Git and the rest of the AI dev stack. Free.
Read next on AI coding tools
Gleam Moves to Tangled: What the ATProto Code Forge Means for Developers
Gleam moved to Tangled, an ATProto-based code forge. What Tangled offers, what HN said about it, and what you gain or lose by leaving GitHub.
6 min readThree Ways to Ignore Files in Git (Beyond .gitignore)
Most developers only know .gitignore, but Git offers two other ignore mechanisms for local workflows and machine-wide patterns. Here's when to use each.
5 min readEmacs 31 is Around the Corner: The Features Worth Daily Driving
Emacs 31 features worth daily driving - auto-installed tree-sitter grammars, a built-in markdown mode, window layout commands and better minibuffer completion.
6 min readNew here? Start with
Technical content at the intersection of AI and development. Building with AI agents, Claude Code, and modern dev tools - then showing you exactly how it works.





