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账号密码
删除以后再git操作的时候就会让你再次输入github的账号密码,这时候密码不要输入原来的密码,输入GitHub里生成的Access Token。
生成的Access Token只能看到一次,所以需要你复制出来保存起来。