1

I'm testing out a package (git clone git://guacamole.git.sourceforge.net/gitroot/guacamole/guacamole)

This project has two branches: 'master' and 'unstable'

How can I get the 'unstable' branch ?

Sorry for the dummy question, but 'git branch' only shows 'master'.

Disco
  • 3,846
  • 10
  • 54
  • 76
  • 1
    possible duplicate of [How do I clone all remote branches with Git?](http://stackoverflow.com/questions/67699/how-do-i-clone-all-remote-branches-with-git) - the branch is there, you just need to see it with `git branch -a`. – wkl May 03 '12 at 15:50

2 Answers2

3

You need to manually check out the unstable branch from the repo.

git checkout -b unstable origin/unstable

2

use git branch -a to list all branches and git checkout unstable to get the unstable branch

edit: this assumes you have already cloned the repo

seanwatson
  • 903
  • 1
  • 7
  • 12