Gitlab 无法从本地网络导入存储库,状态码为 128

 

https://docs.gitlab.com/ee/user/project/import/

 

https://www.coder.work/article/7545581

 

最佳答案

我有同样的错误 Error importing repository http://111.222.33.44/path/to/my/repository/root/folder/.git into myuser/my_project - 13:CreateRepositoryFromURL: clone cmd wait: exit status 128. Please try again. .

在我的情况下,我必须提供用户名和密码,因为我从中导入的存储库受到保护(gitblit)。我也尝试了很多方法,但最后似乎是 GitLab 故障。对我来说,使用提供的字段 Username (optional)和 Password (optional) 没用! 我必须直接在 Git repository URL 中提供凭据字段(as the old screenshot in the docs also suggest):

 

 

 

有了这个,导入就像一种魅力——而且速度很快。

posted @ 2023-02-15 12:17  sinferwu  阅读(525)  评论(0编辑  收藏  举报