Gitlab 导入仓库的时候一直报这个错,怎么解决?

2016-07-23 19:26:14 +08:00
 coolair
按照 http://stackoverflow.com/questions/20359936/import-an-existing-git-project-into-gitlab 的方法:
git clone --mirror https://github.com/raveren/kint
cd kint.git
git remote add gitlab http://gitlab.example.com/raveren/kint.git
git push gitlab --mirror

导入仓库,但是一直报错,报错如下:
$ git push gitlab --mirror
error: Cannot access URL http://abc.com/coolair/mall.git/, return code 22
fatal: git-http-push failed
error: failed to push some refs to 'http://abc.com/coolair/mall.git'

使用过网上的很多方法:
包括改 unix 为 tcp
增加 nginx 的 location ~ [-\/\w\.]+\.git\/
都未能解决。

求大神给方法建议,谢谢!
3707 次点击
所在节点    问与答
3 条回复
coolair
2016-07-23 19:57:25 +08:00
http://hdu104.com/401
按如上方法已解决。
lamour0922
2019-09-12 15:51:36 +08:00
怎么解决的老哥,链接挂了
coolair
2019-09-12 16:44:46 +08:00
@lamour0922 #2 完全不记得了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/294438

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX