From: Alex Riesen Date: Fri, 11 Sep 2009 21:10:38 GMT Subject: Re: one half of a rebase Message-ID: <81b0412b0909111410k3f3ebfaco393bb37ff5a6b5c1@mail.gmail.com> In-Reply-To: <7f9d599f0909111025q42e3cdc6vba602b84c1d81215@mail.gmail.com> On Fri, Sep 11, 2009 at 19:25, Geoffrey Irving wrote: > If I could do (2) as a separate operation, it would look something like > >    git cherry-pick-all topic > > which is simpler and faster since it avoids switching files back and > forth (master to topic and back).  Is there a robust way to achieve > the cherry-pick-all semantics with current commands?  If not, how > difficult would it be to partition rebase accordingly? I have this in my .bashrc: $ gcp3 () { git format-patch -k --stdout --full-index "$@" | git am -k -3 --binary } Then, while on master branch: $ gcp3 master..topic