On Mon, Oct 28, 2013 at 8:51 AM, Jun Inoue <[email protected]> wrote: > - What's the purpose of having magit add ^ to the commit? It seems quite > deliberate judging from the source code, but I can't think of a use for it.
I think the reason is that typically you use interactive rebase to change just the last n commits of a branch. git requires specifying commit n-1 in that case, but it's more natural(?) to specify commit n. See also the docstring of magit-rewrite-inclusive (rewrite is a magit operation which is probably redundant given interactive rebase, see https://github.com/magit/magit/issues/966). > - What's the intended way to do a rebase like the above, where I want commits > to be replayed on the tip of a branch? I believe you can use R (magit-rebase-step) and answer bar at the prompt which will rebase foo on top of bar (non-interactively). Note: I tend to get confused by git's terminology of head, upstream and onto, so hopefully this is not backwards... -- You received this message because you are subscribed to the Google Groups "magit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
