Git-无法推进gitlab项目-“;无法从重定向更新URL基“;

Git-无法推进gitlab项目-“;无法从重定向更新URL基“;,git,redirect,gitlab,git-push,Git,Redirect,Gitlab,Git Push,我为我的项目提供了这个远程URL git remote add origin https://gitlab.com/AbdullahValley/simple-crud.git 当我输入此命令时: $ git push -u origin master 它给出了一些我不理解的错误。 致命:无法从重定向更新URL基: 要求提供:gitlab.com/AbdullahValley/Simple CRUD.g/info/refs?service=git接收包 重定向:gitlab.com/user

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

git remote add origin https://gitlab.com/AbdullahValley/simple-crud.git
当我输入此命令时:

$ git push -u origin master
它给出了一些我不理解的错误。

致命:无法从重定向更新URL基:
要求提供:gitlab.com/AbdullahValley/Simple CRUD.g/info/refs?service=git接收包

重定向:gitlab.com/users/sign_-in


因为它返回500个错误

您在GitLab中启用了双因素身份验证吗?

这件事出乎意料地发生在我身上,尽管使用了https,而且显然远程设置正确

> git push
fatal: unable to update url base from redirection:
  asked for: https://gitlab.com/bburnskm/moveto-io.git/info/refs?service=git-receive-pack
   redirect: https://about.gitlab.com/2018/07/19/gcp-move-update/

> git remote -v
origin  https://gitlab.com/bburnskm/moveto-io.git (fetch)
origin  https://gitlab.com/bburnskm/moveto-io.git (push)
用-u重置遥控器修复了它-

> git push -u origin bb-ui
Enumerating objects: 40, done.
Counting objects: 100% (40/40), done.
Delta compression using up to 4 threads.
Compressing objects: 100% (29/29), done.
Writing objects: 100% (29/29), 3.85 KiB | 788.00 KiB/s, done.
Total 29 (delta 21), reused 0 (delta 0)
remote:
To https://gitlab.com/bburnskm/moveto-io.git
   7dce642..b67ffcc  bb-ui -> bb-ui
Branch 'bb-ui' set up to track remote branch 'bb-ui' from 'origin'.
虽然URL没有改变

> git remote -v
origin  https://gitlab.com/bburnskm/moveto-io.git (fetch)
origin  https://gitlab.com/bburnskm/moveto-io.git (push)

重定向可能重复:gitlab.com/users/sign_在其中表示您没有正确登录。gitlab现在似乎已关闭(获取错误500):现在服务器正常。但同样的问题也出现了(我只能通过远程URL进行推送,因为我没有为我的项目生成SSH密钥。