1

我正在测试一个包(git clone git://guacamole.git.sourceforge.net/gitroot/guacamole/guacamole)

这个项目有两个分支:'master'和'unstable'

我怎样才能得到“不稳定”的分支?

很抱歉这个虚拟问题,但“git branch”只显示“master”。

4

2 回答 2

3

您需要从 repo 中手动签出不稳定的分支。

git checkout -b unstable origin/unstable

于 2012-05-03T15:50:53.160 回答
2

用于git branch -a列出所有分支并git checkout unstable获取不稳定的分支

编辑:这假设您已经克隆了 repo

于 2012-05-03T15:50:16.947 回答