lkml.org 
[lkml]   [2008]   [Feb]   [13]   [last100]   RSS-feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Complete thread (EXPERIMENTAL)
/
DateWed, 13 Feb 2008 00:14:41 -0500 (EST)
FromNicolas Pitre <>
SubjectRe: Announce: Linux-next (Or Andrew's dream :-))
Digg This
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



\
ISP Services
Valid XHTML 1.0!\ /
Valid CSS! Last update: 2008-02-13 06:17    [W:0.494 / U:0.180 seconds]
©2003-2005 Jasper Spaans