Re: git rebase --abort of an --onto run does not checkout the originating branch

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Joshua Jensen
Date: Wednesday, October 27, 2010 - 8:04 pm

----- Original Message -----
From: Junio C Hamano
Date: 10/22/2010 1:15 PM
As if turns out, I wasn't expecting --abort to take me to the --onto 
branch but rather, the originating branch.  Let's assume I am working in 
a branch called JBranch.  I run:

         git rebase --onto master START_SHA END_SHA

I decide to abort the rebase.  I expect to be returned to the place I 
started from: JBranch.  After all, I am aborting the rebase.  I don't 
want to proceed.  I decided it was the wrong thing to do, so just put me 
back where I was.

Anyway, that was my thought pattern.  Since that isn't how it works, 
I'll just have to remember where I was when I started the rebase, 
perform the abort, and checkout the originating branch.

Thank you for your time.

Josh
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: git rebase --abort of an --onto run does not checkout ..., Joshua Jensen, (Wed Oct 27, 8:04 pm)