$ git branch -a
* master
  remotes/origin/HEAD -> origin/master
  remotes/origin/branch_1_1_7
  remotes/origin/master
  remotes/origin/old-dev
  remotes/origin/stable
  remotes/origin/v2.1.x

$ git checkout -b stable origin/stable
Checking out files: 100% (328/328), done.
Branch stable set up to track remote branch stable from origin.
Switched to a new branch 'stable'

$ git branch -a
  master
* stable
  remotes/origin/HEAD -> origin/master
  remotes/origin/branch_1_1_7
  remotes/origin/master
  remotes/origin/old-dev
  remotes/origin/stable
  remotes/origin/v2.1.x



On Sun, Jun 20, 2010 at 6:41 PM, jammer <[email protected]> wrote:
> How do I get a specific branch?
>
> $ git clone [email protected]:bjlockie/freeradius-server.git
> Initialized empty Git repository in /storage/freeradius/freeradius-
> server/.git/
> remote: Counting objects: 68157, done.
> remote: Compressing objects: 100% (14734/14734), done.
> remote: Total 68157 (delta 53271), reused 68157 (delta 53271)
> Receiving objects: 100% (68157/68157), 13.18 MiB | 334 KiB/s, done.
> Resolving deltas: 100% (53271/53271), done.
>
> $ cd freeradius-server/
>
> $ git branch
> * master
>
> --
> You received this message because you are subscribed to the Google Groups 
> "GitHub" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/github?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"GitHub" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/github?hl=en.

Reply via email to