Skip to content

Origin

Rebase was formalized by Git in 2005; the word combines re- (again) with base, meaning to change the base of a series of commits.

The term is literal: to re-base a series of commits, change its base. Git introduced rebase in 2005 as part of its initial design. Older systems (CVS, Subversion) had no equivalent: they could not rewrite history because their history was a linear chain. Git's DAG of commits made rebase possible. The term spread to other DVCS: Mercurial added hg rebase in 2008 as an extension, then as a built-in.

Rebase re-applies the commits on the current branch on top of the specified branch. The result is a new series of commits, each with a new hash.

— Chacon & Straub, *Pro Git*, 2014 (paraphrase)
2005 · Git introduce rebase en su diseño inicial
2008 · Mercurial añade rebase (extensión)
2010 · `--force-with-lease` disponible en Git 1.8.5 (2013)
2019 · `git rebase --rebase-merges` reescribe merges
1 · base nueva por rebase