我的原始存储库有像: git@dev.example.com:project-gui和[email protected]:project-libs 。
Gitlab强迫我使用如下的URL: [email protected]:project/gui和[email protected]:project/libs 。
我不想强制更改现有克隆中的文档和远程URL。
有没有办法让我可以允许顶级回购,代理或URLredirect这些回购?
我们最终通过使用该服务器上的git用户帐户来解决这个问题,以托pipe镜像gitlab的只读存储库。
然后,我们使用gitlab用户来运行gitlab。