码迷,mamicode.com
首页 > 其他好文 > 详细

搭建git服务器

时间:2014-12-19 09:18:31      阅读:138      评论:0      收藏:0      [点我收藏+]

标签:android   git   

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服务器

标签:android   git   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!