设置两因素身份验证后,我收到“未找到存储库”

vic*_*vic 6 github

在我们的 github 进行了两因素身份验证设置后,由于“找不到存储库”的错误,我无法在命令行上执行拉取或推送操作。

C:\myproject>git push origin mybranch
Username for 'https://github.com': myname
Password for 'https://myname@github.com':
remote: Repository not found.
fatal: repository 'https://github.com/myproject.git/' not found
Run Code Online (Sandbox Code Playgroud)

如何解决这个问题?

Von*_*onC 0

仔细检查您的网址。

不应该是https://github.com/myproject.git/但是https://github.com/myusername/myproject.git/