我有一台基本的git服务器运行了一段时间,并决定为GUI,权限控制,合并请求等安装GitLab(在同一台服务器上)。安装GitLab之后,无法访问原始git服务器中的我的仓库。尝试克隆存储库或推送到存储库时出现以下错误...
git clone [email protected]:repositories/myrepo.git Initialized empty Git repository in /home/myuser/myrepo/.git/
fatal: protocol error: bad line length character: No s
当我尝试在处理该问题的其他帖子中找到的内容时,出现以下错误...
ssh mygitserver git-receive-pack /home/git/repositories/myrepo.git
fatal: '/home/git/repositories/myrepo.git' does not appear to be a git repository
如何将我的“旧” git存储库放入GitLab,或者至少在它们仍然可用的地方?GitLab本身运行正常。我可以设置存储库,克隆,推送以及执行我想做的任何事情。太好了,我只需要能够克隆现有的存储库,就可以将它们迁移到GitLab中。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句