Re: 'make prep' breaks on private branches.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: pgpuWMlhxu2P0.pgp
Description: PGP signature

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux