免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 7969 | 回复: 3
打印 上一主题 下一主题

[Linux] error: refs/remotes/origin/master does not point to a valid object! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-06-17 23:10 |只看该作者 |倒序浏览
[root@test home]# git clone git@192.168.0.112:test.git
Initialized empty Git repository in /home/smartedu/.git/
Address 192.168.0.112 maps to bogon, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT!
remote: Counting objects: 64, done.
remote: Compressing objects: 100% (56/56), done.
remote: Total 64 (delta 7), reused 0 (delta 0)
Receiving objects: 100% (64/64), 20.45 KiB, done.
Resolving deltas: 100% (7/7), done.
error: refs/remotes/origin/master does not point to a valid object!
error: Trying to write ref refs/heads/master with nonexistant object f641f931be127938d7aa576832d69c802f12110d
fatal: Cannot update the ref 'HEAD'.

论坛徽章:
4
白羊座
日期:2013-09-17 21:59:30技术图书徽章
日期:2013-10-12 22:16:03白羊座
日期:2013-10-14 11:01:40双子座
日期:2013-12-17 18:26:39
2 [报告]
发表于 2013-06-22 23:09 |只看该作者
回复 1# webwlsong
按照这个链接说的,更新一下客户端也许可以解决问题
http://stackoverflow.com/questio ... cloning-from-github


   

论坛徽章:
0
3 [报告]
发表于 2013-07-01 19:12 |只看该作者
确实是这样,git版本从1.7.2升级到1.8.2就没有问题了、

论坛徽章:
0
4 [报告]
发表于 2013-07-01 19:14 |只看该作者
回复 2# 井蛙夏虫


    谢谢这个问题解决了,客户端版本太低。原因造成的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP