Git提交时报错Logon failed use ctrl c to cancel basic credential prompt.
原创约 346 字大约 1 分钟...
13-Git提交时报错Logon failed, use ctrl+c to cancel basic credential prompt..md
注意
本博文仅供学术研究和交流参考,严禁将其用于商业用途。如因违规使用产生的任何法律问题,使用者需自行负责。
报错
- 报错信息如下:
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/studyLog.git/'

解决方法
- 登录自己的github
- 点击右上角头像--> setting --> Developer settings --> Personal access tokens 并照如下图所示勾选填写相关内容


试验
由于我成交后提了过一次 所以登录用户名密码以及登录tlken名和密码均不用再次输入了 直接显示提交成功了

参考文章
分割线
相关信息
以上就是我关于 Git提交时报错Logon failed, use ctrl+c to cancel basic credential prompt.. 知识点的整理与总结的全部内容
Powered by Waline v2.15.4