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

你可能感兴趣的:(remote: Support for password authentication was removed on August 13, 2021. Please use a personal...)