在同一台服务器上安装的GitLab和现有的Git Repo是不可访问的
我让一台基本的git服务器运行了一段时间,并决定在同一台服务器上安装GitLab,用于GUI、权限控制、合并请求等。安装GitLab后,我从原始git服务器获得的任何repo都无法访问。我在尝试克隆回购或推送到回购时出现以下错误在同一台服务器上安装的GitLab和现有的Git Repo是不可访问的,git,gitlab,Git,Gitlab,我让一台基本的git服务器运行了一段时间,并决定在同一台服务器上安装GitLab,用于GUI、权限控制、合并请求等。安装GitLab后,我从原始git服务器获得的任何repo都无法访问。我在尝试克隆回购或推送到回购时出现以下错误 git clone git@mygitserver.com:repositories/myrepo.git Initialized empty Git repository in /home/myuser/myrepo/.git/ fatal: protocol
git clone git@mygitserver.com: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本身运行良好。我可以设置回购、克隆、推送,以及做任何我想做的事情。这很好,我只需要能够克隆现有的repo,这样我就可以将它们迁移到GitLab中
克里斯是对的,这很好用