remote: Support for password authentication was removed on August 13, 2021. Please use a personal...

今天去拉git代码发现一个问题remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.

具体报错,2021年8月13日后不支持密码登录,需要使用token验证

经过一番折腾,参考文档https://blog.csdn.net/m0_46332820/article/details/119708248

1.生成一个令牌(可设置权限啥的),记录下来(因为只展示一次)https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token

2.Win用户的Windows 凭据要修改的话,只需要 按下win键 输入“凭据”,即可打开Windows凭据,再找到普通凭据下GitHub的凭据进行修改,凭据就是生成的令牌 https://www.jianshu.com/p/740db404b925

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容