美文网首页
【CMD|GitHub|Error】Support for pa

【CMD|GitHub|Error】Support for pa

作者: 盐果儿 | 来源:发表于2024-09-18 16:59 被阅读0次

    Git克隆远程仓库的时候,报错:

    remote: Support for password authentication was removed on August 13, 2021.

    remote: Please see https://docs.github.com/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/ElisabettaPigni/monte-carlo-analysis-exiobase-Brightway-.git/'

    解决方案:

    1. GitHub首页右上角,选择"Settings"

    2. 左下角选择“Developer settings”

    3. 左侧选择“Personal access tokens”,选择“Tokens(classic)”

    4. 新建一个token,然后复制token值(很重要,关了窗口就没了,再也找不到了!!!)

    5. 拷贝远程仓库的时候,输入用户名,然后要求输入密码的时候,把刚刚复制的token值粘贴,然后就可以了。

    相关文章

      网友评论

          本文标题:【CMD|GitHub|Error】Support for pa

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