从命令行(通过https,而不是ssh)启动推送或任何其他操作,调用用户名和密码不仅会失败,但是当它发生时,它会返回
Username for 'https://github.com': username
Password for 'https://username@github.com':
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/username/repository.git/'
Run Code Online (Sandbox Code Playgroud)
我没有@github.com地址.密码和用户名是正确的.
我知道我可以切换到SSH并使用密钥,但这并不能解决验证失败的原因.
我们喜欢TortoiseGit,并希望利用GitHub的双因素身份验证 ......但这两者似乎并不想一起工作.
有没有人找到解决方案?