Re:Why I Switched to Git From Mercurial
by charlesmarshall on Monday May 17, 2010 @12:12PM
(#1354660)
you can use commands like git filter-branch & git rebase to change your history - http://www-cs-students.stanford.edu/~blynn/gitmagic/ch05.htm...
[ Parent
| on HN ]
"git rebase" on its own does not permanently alter history. It creates a new branch that looks like a new history, but you can get back to the original history.
"git gc" will prune the unused old histories for that permanent effect.