美文网首页
git pull git push Access Token

git pull git push Access Token

作者: 不会写代码的尬先生 | 来源:发表于2021-08-16 09:48 被阅读0次

git pull 和git push时报错,现在GitHub都是用Access Token了。

remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: unable to access 'https://github.com/***/***.git/': The requested URL returned error: 403

先删除钥匙串里保存的github账号密码


截屏2021-08-16 上午9.41.58.png

删除以后再git操作的时候就会让你再次输入github的账号密码,这时候密码不要输入原来的密码,输入GitHub里生成的Access Token。

生成token方法点这里

生成的Access Token只能看到一次,所以需要你复制出来保存起来。

相关文章

网友评论

      本文标题:git pull git push Access Token

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