Roland McGrath wrote:
> Here is what I'm doing:
>
> fedpkg clone kernel
> fedpkg switch-branch f14
> git checkout -b pnfs-all-2.6.35-2010-08-05
Make that 'git checkout --track -b pnfs-blah-blah origin/f14/master'.
Or, equivalently, after the fact, do:
git config branch.pnfs-blah-blah.remote origin
git config branch.pnfs-blah-blah.merge refs/heads/f14/master
FWIW, since git-1.7.0, you can do this directly with git branch:
git branch --set-upstream pnfs-all-2.6.35-2010-08-05 origin/f14/master
So if you've left off the --track (-t) option to checkout, you don't
have to bother setting the config entries manually.
--
Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL:
www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
He may look like an idiot and talk like an idiot but don't let that
fool you. He really is an idiot.
-- Groucho Marx