这是什么意思?无法获取远程存储库信息.也许git-update-server-info需要在那里运行?
git clone http://projects.iplantcollaborative.org/public/FoundationalAPI/SampleCode
Initialized empty Git repository in /homes/user/SampleCode/.git/
Cannot get remote repository information.
Perhaps git-update-server-info needs to be run there?
Run Code Online (Sandbox Code Playgroud)
小智 8
正如其他人所指出的,存在两个问题.
如果您不愿意更新Git,因为您正在处理其他人的群集(猜测,因为iPlant链接),请尝试替换git clone http://...为git clone git://....这对我Git 1.5.5.6在TACC(iPlant HPC资源)上的Lonestar 使用起了作用.
为了提供用于拉取的存储库,需要存在标准磁盘 git 存储库中不存在的各种元数据文件。此错误消息表明为了填充这些文件,您需要git update-server-info在托管存储库的服务器上运行。
这假设这是您的服务器,并且存储库存在。在上面发布的示例中,实际上根本没有 git 存储库。(事实上,那里什么也没有。)
| 归档时间: |
|
| 查看次数: |
8637 次 |
| 最近记录: |