This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: onwards to git


"Carlos O'Donell" <carlos@systemhalted.org> writes:

> Q: How do I checkout the glibc-2_9-branch from git?
>
> A: Checkout the sources from the glibc-2_9 tag into a local branch
> named glibc-2_9-branch
> git checkout -b glibc-2_9-branch glibc-2_9

You probably want to use origin/glibc-2_9-branch instead of the tag.
With a recent version of git (since 1.6.1) you can use this:

$ git checkout --track origin/glibc-2_9-branch

This is equivalent to the following:

$ git checkout --track -b glibc-2_9-branch origin/glibc-2_9-branch

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]