Re:How to undo almost anything with Git
by nbouscal on Monday June 08, 2015 @08:06PM
(#9683306)
This is pretty good, I had never seen autosquash before. Another rebase flag that I find useful is --onto. For example, to rebase only the most recent N commits of a branch onto master:
git rebase HEAD~N --onto master