git help

Daniel Hollocher danielhollocher at
Mon Aug 30 14:03:10 UTC 2010

Hey folks,
I'm trying to learn git and follow the kernel git guide:

I'm having trouble with the rebase command:
Preserve Local Changes

git fetch
git rebase --onto origin/master origin/master@{1}

Can someone verify the correctness of the command and/or explain the
error message that I'm getting?

ubuntu-lucid$ git rebase --onto origin/master origin/master@{1}
fatal: Needed a single revision
invalid upstream origin/master@{1}

The fatal error might be ignorable since I have eliminated all changes
by running `git reset --hard origin/master`, but the other one might
be a typo?


More information about the kernel-team mailing list