Git - 如何从一个遥控器拉出所有分支?

时间:2014-11-21 12:32:59

标签: git

git pull -all从所有遥控器(?)或只是原点拉出所有分支,但是如果我有另一个名为spaceship的遥控器,我怎么能从这个遥控器拉出所有分支? / p>

这些是我的尝试:

C:\DATA\Git\Repo>git pull --all spaceship
fatal: fetch --all does not take a repository argument

C:\DATA\Git\Repo>git pull spaceship --all
fatal: fetch --all does not take a repository argument

我试过看过但是就像所有与Git相关的问题一样,134回答每回合29条评论,有些人继续关于Git如何在内部工作2页。请简洁地说明我输入什么内容?

感谢。

1 个答案:

答案 0 :(得分:0)

您可以运行git fetch来获取遥控器上的所有分支,然后您可以使用git checkout branch

切换到这些分支
相关问题