github 开启双重认证(密码和 Google 认证)后,在终端使用 git push origin
命令时,会提示:
Username for '...'
Password for '...'
这时的 Password 应该输入 github 上面生成的 token,而非密码。
token 生成
![](https://img.haomeiwen.com/i1753235/8e17f40cace7609a.png)
github 开启双重认证(密码和 Google 认证)后,在终端使用 git push origin
命令时,会提示:
Username for '...'
Password for '...'
这时的 Password 应该输入 github 上面生成的 token,而非密码。
token 生成
本文标题:git push fatal: Authentication f
本文链接:https://www.haomeiwen.com/subject/hepcrftx.html
网友评论