git pull 和git push時報錯,現(xiàn)在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只能看到一次儡率,所以需要你復制出來保存起來侯繁。