Re: [PATCH 1/3] rebase -i: handle --continue more like non-interactive rebase
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Jul 12, 2007, 22:26 UTC
- Message-ID
- <20070712222640.GA30532@steel.home>
- In-Reply-To
- <Pine.LNX.4.64.0707080300440.4093@racer.site>
Johannes Schindelin, Sun, Jul 08, 2007 04:01:29 +0200:
> Non-interactive rebase requires the working tree to be clean, but > applies what is in the index without requiring the user to do it > herself. Imitate that, but (since we are interactive, after all) > fire up an editor with the commit message.
Could we also have "git rebase <base> <branch>"? I find it useful when I have many branches to rebase:
~/project @master$ git rebase master branch1
~/project @branch1$ git rebase master branch2
~/project @branch2$ git rebase master branch3
...Otherwise one have to, for example, "git checkout branch1" first, and only then run rebase-interactive. Checkout is not very pleasant operation on windows if you have many files (well, nothing is pleasant there, but this one have to be done often). Rebase-interactive is *very* slow there, but I just could not part with it after having tried it once :)