Rewrite history git history - 01-11-20

$ git rebase -i HEAD~3

Using this command you can rewrite a series of commits via dropping, fixing, squshing, and picking. It’s most helpful before pushing to a remote repo if you did a bunch of small commits you want to roll into one.


git docs

\- [ git ]