Reputation: 43039
I did git rebase -i <commit>
to squash the last x commits and they got committed to my local branch. Then realized that I picked the wrong commit for rebase. I made a backup of the files changed in this commit. Now I want to go back to the version of my branch that is in the remote origin and redo squashing.
How do I do that?
Upvotes: 0
Views: 32