使用git clone一个空的裸仓库碰到意外的报错现象
来源:互联网 发布:电脑系统优化软件知乎 编辑:程序博客网 时间:2024/05/16 15:05
fedora 9 系统环境下
[root@localhost Handset]# git clone git@server_ip:zs_test
Initialized empty Git repository in /root/git_work/Handset/zs_test/.git/fatal: no matching remote head
fetch-pack from 'git@server_ip:zs_test' failed.
[root@localhost Handset]# git --version
git version 1.5.4.5
ubuntu 11.10 系统环境下
camille@Product:~/git-95-admin/gitolite-admin$ git clone git@server_ip:zs_test
Cloning into zs_test...
warning: You appear to have cloned an empty repository.
camille@Product:~/git-95-admin/gitolite-admin$ git --version
git version 1.7.5.4
我先向zs_test 提交进文件,然后在fedora 9端clone ,结果就成功了。
事实上已经证明:fedora 9上面的git版本过低,导致无法clone一个空的裸仓库。当然即便在较新git版本中你去clone 一个裸仓库也是会警示你的。
随后我升级了fedora 9 上git ,将其升级成为1.7.8 ,然后去clone一的空的裸仓库,ok,成功了。
- 使用git clone一个空的裸仓库碰到意外的报错现象
- git clone指定的tag代码 只clone仓库中的一个分支
- git clone远程仓库的分支
- 一个新的电脑,安装git,并从远程仓库clone项目
- sourcetree 打开报错,路径...不是一个有效的Git仓库工作副本
- 【Eclipse中使用Git之一】把远程仓库的项目,clone到eclipse里面
- 【Eclipse中使用Git之一】把远程仓库的项目,clone到eclipse里面
- 通达OA 开发工作流触发器碰到的一个特殊现象
- GIT的安装和Clone到远程仓库
- git clone 异常现象
- git 的一个报错
- Git 一个远程使用的代码管理仓库
- git clone 之后文件夹是空的,处理方法
- git远程仓库的使用
- git远程仓库的使用
- Git - 远程仓库的使用
- git远程仓库的使用
- GIT远程仓库的使用
- Linux Mint 14(MATE)安装Skyeye
- C语言编译过程总结详解
- linux设备驱动归纳总结(八):2.总线、设备和驱动的关系
- SQL SERVER 2008安装故障之一
- java串口通讯详解
- 使用git clone一个空的裸仓库碰到意外的报错现象
- linux常用命令--mkdir,
- 为什么“电路中容抗和阻抗相等时,也就是谐振时,电路呈阻性?”谢谢
- java.lang.UnsupportedOperationException: Can't convert to dimension: type=0x12
- list 去重
- ubuntu安装libevent2.0.20
- 一个合格的程序员应该读过哪些书
- 关于Virtual Box 主机Windows与虚拟机Fedora9之间的共享文件夹问题
- php一些常用的操作(如求长度,切割等等)