[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <alpine.LFD.1.00.0802130011360.2732@xanadu.home>
Date: Wed, 13 Feb 2008 00:14:41 -0500 (EST)
From: Nicolas Pitre <nico@....org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: James Bottomley <James.Bottomley@...senPartnership.com>,
David Miller <davem@...emloft.net>, jeff@...zik.org,
arjan@...radead.org, greg@...ah.com, sfr@...b.auug.org.au,
linux-kernel@...r.kernel.org, linux-next@...r.kernel.org,
linux-arch@...r.kernel.org, akpm@...ux-foundation.org
Subject: Re: Announce: Linux-next (Or Andrew's dream :-))
On Tue, 12 Feb 2008, Linus Torvalds wrote:
> So let's say that you have a remote branch that you track that goes
> rebasing (let's call it "origin/pu" to match the real-life git behaviour),
> then you should literally be able to do
>
> old=$(git rev-parse origin/pu) &&
> git fetch &&
> new=$(git rev-parse origin/pu) &&
> git rebase --onto $new $old
>
> and no, I didn't actually test it, but hey, it really should be that
> simple.
Or, with Git 1.5.4, just:
git pull --rebase
And I didn't test it yet either. Same caveats do apply.
Nicolas
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists