re: A closer look at git rebase VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION
 

There's no need to create a backup branch. You can do git diff HEAD@{N}~range and git reset --hard HEAD@{N}. Also see git reflog

 

I agree. But from my experience, people just learning how to rebase really don't want to know anything about git reflog.
The branch method is simpler for beginners.

code of conduct - report abuse