On 28.10.08 12:36:28, stephane eranian wrote:
> On Tue, Oct 28, 2008 at 12:45 AM, Luck, Tony <[EMAIL PROTECTED]> wrote:
> >> % git checkout origin/perfmon3
> >> Note: moving to "origin/perfmon3" which isn't a local branch
> >> If you want to create a new branch from this checkout, you may do so
> >> (now or later) by using -b with the checkout command again. Example:
> >>  git checkout -b <new_branch_name>
> >> HEAD is now at f738655... perfmon: refresh documentation
> >
> > You have the branch checked out at this point ... just it
> > is a nameless branch.  As these messages say you can use the
> > -b command to give it a name:
> >
> >  $ git checkout -b corey origin/perfmon3
> >
> Tony, do I have to do this on the repository, so we can name it directly?

Yes, you can name your branch perfmon3 instead of
corey. origin/perfmon3 is short for refs/remotes/origin/perfmon3
(remote branch), corey would refer to refs/heads/corey, that is a
local branch (see also man git-rev-parse).

See also my previous mail.

-Robert

-- 
Advanced Micro Devices, Inc.
Operating System Research Center
email: [EMAIL PROTECTED]


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
perfmon2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to