git help

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


Hey folks,
I'm trying to learn git and follow the kernel git guide:
https://wiki.ubuntu.com/Kernel/Dev/KernelGitGuide

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?

Thanks,
Dan




More information about the kernel-team mailing list