From: Nguyen Thai Ngoc Duy Date: Mon, 09 Jan 2012 01:44:49 GMT Subject: Re: [PATCH] rebase --fix: interactive fixup mode Message-ID: In-Reply-To: <20120108220127.GA4050@burratino> 2012/1/9 Jonathan Nieder : > Funny. :)  I wonder if this is possible to generalize, to something like > >        git rebase -i foo^{last-merge} > > or even something like > >        git rebase -i foo^{first:--merges} > > (where "^{first:}" would mean something like > "the first commit listed by "git rev-list "). > What do you think? Is something like this over-generalized? http://kerneltrap.org/mailarchive/git/2010/12/24/47502 A good thing I see from having a specific option for "-i HEAD~n" is that it's potentially shorter to type. For someone who does rebase a lot and has CapsLock turned to Ctrl, it helps. Maybe "rebase -I" == "rebase -i HEAD^{last-merge}" (or "rebase -i ") and "rebase -I " == "rebase -i HEAD~"? -- Duy