git rebase / history rewrite
git rebase / history rewrite
Posted Feb 12, 2026 7:55 UTC (Thu) by marcH (subscriber, #57642)Parent article: Evolving Git for the next decade
Rewriting history relies on (at least) two key concepts 1. Change-Ids (as in Gerrit and others) and 2. The distinction between mutable ("rebasable", yuck) versus immutable commits.
Funny enough, most GitHub projects don't care much "clean" git histories and do not need these concepts:
https://blog.buenzli.dev/announcing-development-on-flirt/...
https://zachholman.com/posts/git-commit-history/ "Utter Disregard for Git Commit History"
So these key concepts are needed only by "traditional" git users like for instance kernel developers who... spent years ignoring and/or dismissing them?!? https://lwn.net/Articles/1037069/ "A policy for Link: tags"
Very strange.
Other relevant references:
https://fossil-scm.org/home/doc/tip/www/rebaseharm.md
https://gitlab.com/gitlab-org/gitlab/-/issues/24096
