From: "Jeff King" <p...@peff.net>
I'd expect "-$n" to mean "rebase the last $n commits" (as opposed to
everything not in the upstream). That does not work currently, of
course, but:

 1. It has the potential to confuse people who read it, since it's
    unlike what "-1" means in most of the rest of git.

 2. It closes the door if we want to support "-$n" in the future.


Yeah, "rebase the last $n commits" would be a nice touch.

git rebase -i -10 --onto v1.9.0 # rebase the last 10 commits in this branch etc.

Philip
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to