Blu Corater wrote: > On Mon, Feb 05, 2007 at 05:38:18PM +0100, Jakub Narebski wrote: >> Try using >> >> $ git rebase --onto A' A local > > Thanks a lot, that did it. > > I've got confused by the wording of the git-rebase man page. It says: > > <upstream> > Upstream branch to compare against > > Which suggests to me that <upstream> must be a branch tip, and not a > random commit, as seems to be the case (well, not random, but reachable > from <branch> if I understand well). Also, the man page doesn't give any > example of rebasing using a random commit as <upstream>, they all use > branch tips which reinforced my wrong assumption. Well, I think that two examples of using --onto should make it clear enough (especially second one), and both are quite similar to your situation I think. But I agree that git-rebase(1) needs clarification. Do you volunteer? ;-) -- Jakub Narebski Warsaw, Poland ShadeHawk on #git - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html