Git - 无法推送到 gitlab 项目 - “无法从重定向更新 URL 库”

Abd*_*lah 5 git redirect git-push gitlab

我为我的项目提供了这个远程 URL。

git remote add origin https://gitlab.com/AbdullahValley/simple-crud.git
Run Code Online (Sandbox Code Playgroud)

当我输入这个命令时:

$ git push -u origin master
Run Code Online (Sandbox Code Playgroud)

它给出了一些我在这里不明白的错误。

致命:无法从重定向更新 URL 库:
要求:gitlab.com/AbdullahValley/Simple-CRUD.g/info/refs?service
=git-receive- pack重定向:gitlab.com/users/sign_in

小智 1

因为它返回500错误。https://gitlab.com/