2 ms·
you can use commands like git filter-branch & git rebase to change your history - http://www-cs-students.stanford.edu/~blynn/gitmagic/ch05.html http://www-cs-st
by charlesmarshall 16y ago
you can use commands like git filter-branch & git rebase to change your history - http://www-cs-students.stanford.edu/~blynn/gitmagic/ch05.html http://www-cs-students.stanford.edu/~blynn/gitmagic/ch05.htm...
- Xurinos 16y ago"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.
- Vitaly 16y agoeven "git gc" will not do it for a while. the old history will still be referenced from the reflog for some time (I think default is 30 days)