I\'m using git svn to get some git goodness with the company-mandated svn server. I just had a rebase go horribly awry, and I\"m trying to figure out the best way t
You should have a look at ORIG_HEAD
ORIG_HEADis previous state ofHEAD, set by commands that have possibly dangerous behavior, to be easy to revert them.
It is less useful now that Git has reflog:HEAD@{1}is roughly equivalent toORIG_HEAD(HEAD@{1}is always last value ofHEAD,ORIG_HEADis last value ofHEADbefore dangerous operation)
So try this git reset to get back to before any rebase:
git reset --hard ORIG_HEAD