Git如何解决提交到Github时老是要输入用户名和密码的问题?

涎涎原创约 311 字大约 1 分钟...GitGit

16-Git如何解决提交到Github时老是要输入用户名和密码的问题?.md

注意

本博文仅供学术研究和交流参考,严禁将其用于商业用途。如因违规使用产生的任何法律问题,使用者需自行负责。

bug复现

  • 如下图所示,Git提交github时老是让输入用户名密码
  • 照它的要求输入了,提交之后还报如下错的误
Logon failed, use ctrl+c to cancel basic credential prompt.
remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/javaobjects/tickets.git/'
  • 这不是玩我嘛

解决办法


分割线


相关信息

以上就是我关于 Git如何解决提交到Github时老是要输入用户名和密码的问题? 知识点的整理与总结的全部内容,希望对你有帮助。。。。。。。

上次编辑于:
贡献者: 涎涎
评论
  • 按正序
  • 按倒序
  • 按热度
Powered by Waline v2.15.4