Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion clone only pulls down master branch
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tekkub  
View profile  
 More options Aug 22 2008, 9:20 pm
From: Tekkub <tek...@gmail.com>
Date: Fri, 22 Aug 2008 19:20:17 -0600
Local: Fri, Aug 22 2008 9:20 pm
Subject: Re: clone only pulls down master branch

Ah, the classic case of finding your answer just after you give up and send
off an email.

git-clone should pull down all the remote branches, you shouldn't need that
fetch call.  After it pulls those down, however, it creates only a local
branch named "master"... so you have to create any other local branches you
want.

--tek

On Fri, Aug 22, 2008 at 7:12 PM, LinPan <ell...@onehouse.net> wrote:

> Ahhh, I got it.  I found a tech note that talks about how to checkout
> another branch from a remote repository.  Here it is, in case this is
> helpful to anyone else:

> $ git clone http://www.example.com/~username/git/repo-name<http://www.example.com/%7Eusername/git/repo-name>
> $ cd repo-name
> $ git fetch
> $ git checkout --track -b mybranch origin/remote-branch-name


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google