【发布时间】:2021-10-17 12:00:59
【问题描述】:
我正在尝试在 VS 代码中设置个人访问令牌,但它似乎不接受它。我把它放在命令面板的“Github:设置个人访问令牌”中,但它似乎没有任何效果。我还将令牌放在 Windows 凭据管理器中。
当我尝试推送时,我收到此错误:
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: unable to access 'https://<usr>:token@github.com/<us>/repository.git/': The requested URL returned error: 403
【问题讨论】:
标签: git github visual-studio-code