报错
- 报错信息如下:
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名和密码均不用再次输入了 直接显示提交成功了
参考文章
文章:Logon failed, use ctrl+c to cancel basic credential prompt.
以上就是我关于 Git提交时报错Logon failed, use ctrl+c to cancel basic credential prompt.. 知识点的整理与总结的全部内容
网友评论