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


    克隆代码时,报错:

    Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
    remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.

    远程:密码验证的支持在2021年8月13日被删除。请改用个人访问令牌。

    
    

    遥控器:请看https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ 了解更多信息。

     

    怎么办?

    1.去生成 个人访问令牌 ,跟着截图操作

     

    如果想要给修改代码的权限,这需要加这个

     最后这个

    2.这个就是生成的加密令牌

     3.怎么使用

    指令框输入
    git clone git://【令牌】@github.com/cXXXXXXi/eXXXXXX.git


    git clone git://ghp_nXXXXXXXXXXXXXXXXXXXXXXXXXKdZFU@github.com/cXXXXXXi/eXXXXXX.git

    然后会提示输入账号密码,

    那么在账号框输入 账号,

    密码框输入 令牌

    就行了,感动吧,真会搞事情

    如果没有账号密码框,

    输入

    git config --system --unset credential.helper

    如果需要指定分支

     git clone -b master https://XXXXXXXX
  • 相关阅读:
    Java技术体系
    博客开篇
    在Web api2 中传递复杂参数的一点心得
    java内存区域
    nginx负载均衡配置
    nginx反向代理配置
    nginx部署静态网站
    nginx在Centos7.5下源码安装和配置
    Java中的类 serialVersionUID 在序列化的时候有什么用?
    linux开放防火墙端口
  • 原文地址:https://www.cnblogs.com/c2g5201314/p/15638260.html
Copyright © 2020-2023  润新知