Re: [PATCH 2/2] git-rebase.txt: clarify that --abort checks out <branch>
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Jul 6, 2011, 02:52 UTC
- Message-ID
- <20110706025228.GB10015@elie>
- In-Reply-To
- <alpine.DEB.2.00.1107052148370.7799@debian>
Martin von Zweigbergk wrote:
Show 7 quoted lines
> That reminds me that <branch> may not have been specified. How about > saying things more explicitly like this? > > Abort the rebase operation and reset HEAD to the original branch. If > <branch> was provided when the rebase operation was started, then > HEAD will be reset to <branch>. Otherwise HEAD will be reset to > where it was when the rebase operation was started.
Sounds great to me for what it's worth. (With the caveat that "git rebase --abort" reattaches HEAD in addition to what "git reset --hard" would do, but I think it's fine to just leave that implied.) Sorry to have been slow to respond lately.