首页 > 其他 > 详细

搭建git服务器

时间:2014-12-19 09:16:40      阅读:253      评论:0      收藏:0      [点我收藏+]

1.下载gitosis代码出错

git clone git://eagain.net/gitosis.git
Initialized empty Git repository in /tmp/gitosis/.git/
eagain.net[0: 50.56.185.182]: errno=Connection refused
fatal: unable to connect a socket (Connection refused)
可以在github上下载个gitosis
git clone https://github.com/res0nat0r/gitosis.git

2. git clonegit@<server>:gitosis-admin.git出错

fatal: ‘~/gitosis-admin.git‘ does not appear to be a git repository
fatal: The remote end hung up unexpectedly

则改成sudo git clone git@<Server-IP>:/home/git/repositories/gitosis-admin.git

搭建git服务器

原文:http://blog.csdn.net/jcgu/article/details/8791999

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!