Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已设置我的 github 帐户以使用硬件设备进行多因素身份验证。但是,我只是从命令行运行 git push 并要求输入用户名/密码。我提供了相同的。几次。我必须至少做对一次。每一次,都没有快乐。有什么我想念的吗?
愚蠢的我。阅读精美的手册。我引用
“在命令行或 API 上使用 Git 通过 HTTPS 通过 HTTPS 执行 Git 操作时,您可以创建个人访问令牌并使用它来代替密码。
“在以下情况下,需要个人访问令牌才能向 GitHub 进行身份验证:
“当您使用双重身份验证时……”
为伤害信噪比道歉。