Questions tagged «two-factor-authentication»

8
启用2FA后,Git身份验证失败
我刚刚启用了2FA(我想不出所做的任何其他更改),并且git询问了我的用户名和密码。我提供了两个,但是它们是“错误的”。我在这里尝试了许多解决方案:Git push需要输入用户名和密码,但这不起作用。特别是,当从https切换到ssh时,ssh密钥会 权限被拒绝(公钥)。致命:无法从远程存储库读取。 $ git push warning: push.default is unset; its implicit value is changing in Git 2.0 from 'matching' to 'simple'. To squelch this message and maintain the current behavior after the default changes, use: git config --global push.default matching To squelch this message and adopt the new behavior …

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.