git branch -r没有显示所有远程分支

时间:2014-11-04 14:24:10

标签: git version-control branch bitbucket atlassian-sourcetree

我没有通过命令

看到我所有的远程分支
git branch -r
  origin/HEAD -> origin/master
  origin/master

然后我使用git ls-remote origin

输出

e7ae5a2136ac27528cb201040f432faf29034d67    HEAD
a085ebd1c7f0477cee4bbad92810e057f5899b6b    refs/heads/bundles
c9b34c60a18278e02489a2f232604f8e1bd295ca    refs/heads/bundles_new
8eca519636f2dfe8a6b5d7f8e8021c5fc2a72fd7    refs/heads/compression

所以我试图获取所有这些分支

git fetch origin
remote: Counting objects: 22417, done.
remote: Compressing objects: 100% (8478/8478), done.
error: RPC failed; result=56, HTTP code = 200 MiB | 754.00 KiB/s   
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

它没有用。 git clone基本上给了我相同的结果

我如何解决这个问题?

0 个答案:

没有答案