That you did is as expected. Do this: git fetch origin # updates the remote repository git checkout -b perfmon3 origin/perfmon3 # creates a new branch from perfmon3
-Robert On 27.10.08 14:58:37, Corey J Ashford wrote: > Hi Stephane, > > Today I tried getting the perfmon3 branch from git, and was unsuccessful. > Here are the commands I ran: > > % git clone > git://git.kernel.org/pub/scm/linux/kernel/git/eranian/linux-2.6 > > This succeeded, and then I tried: > > % git-checkout perfmon3 > error: pathspec 'perfmon3' did not match any file(s) known to git. > Did you forget to 'git add'? > > But this wasn't a known branch, so then I tried just > > git branch -r > > and it shows: > > abat-js22-2.ltc.austin.ibm.com:corey-55% git branch -r > origin/HEAD > origin/master > origin/perfmon3 > > > So I tried > > % 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 > > > I would have expected to get a bunch of different files. Just to see if > it was somehow on the right branch anyway, I tried: > > % git-branch > * (no branch) > master > > Please pardon my lack of git skills here. What am I doing wrong? What's > the proper sequence to get the perfmon3 branch of code? > > Thanks, > > - Corey > > Regards, > > - Corey > > Corey Ashford > Software Engineer > IBM Linux Technology Center, Linux Toolchain > Beaverton, OR > 503-578-3507 > [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 > -- 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
