Here's what the commit history looked like before I mucked it up:
A B C [master]
\
D E F G H I [refactor]
Here's what my current commit history looks like:
A --------------- E B C F D [master branch]
\
B C D E F G H I [refactor branch]
Here's how I want it to look:
A B C D F G [master branch]
\
E H I [refactor branch]
I didn't fully understand what the rebase command was going to do, so I now have a bit of a mess. This leaves me with two questions:
Is there a way to easily undo the effects of the last rebase command you ran? (Since I'll probably screw up again.)
What series of commands should I be using to get me where I want to be? I suspect I want to use some combination of rebase and cherry_pick, but don't want to mess things up any further.
Thank you for your time and help.
Ray