Thursday, December 3, 2026 | London 11°C · Drizzle
DailyGlimpse

AI

Git's New `history` Command Offers Atomic, Conflict-Free Rebasing

The Automation Stack 1 min read

Git has quietly introduced an experimental new command, git history, designed to make rewriting commit history safer and more intuitive. The command, which debuted across Git 2.54 (April 2026) and 2.55 (June 2026), provides three subcommands: reword, split, and fixup.

  • git history reword {commit} lets you change a commit message without checking out that commit or manually rebasing. It automatically rebases all stacked branches.
  • git history split {commit} breaks a single commit into multiple by interactively selecting hunks.
  • git history fixup {commit} merges staged changes into an older commit and updates every local branch derived from it.

The key innovation is atomicity: if an operation would cause a conflict, Git refuses to execute it, leaving your repository in a clean state. This avoids the half-broken trees that often result from interactive rebase mistakes.

While still early (no support for merge commits or conflict resolution), git history provides a low-risk way to clean up commit history without switching to alternative version control systems like jj. Update your Git installation to try it.

React