美文网首页
Git提交时报错Logon failed, use ctrl+c

Git提交时报错Logon failed, use ctrl+c

作者: 涎涎 | 来源:发表于2020-12-01 19:12 被阅读0次

    报错

    • 报错信息如下:

    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/'

    解决方法

    1. 登录自己的github
    2. 点击右上角头像--> 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.. 知识点的整理与总结的全部内容


    分割线

    相关文章

      网友评论

          本文标题:Git提交时报错Logon failed, use ctrl+c

          本文链接:https://www.haomeiwen.com/subject/cmzswktx.html