“配置Github使用Token登录验证”的版本间的差异
来自YTYZX有图有真相的百科
(创建页面,内容为“ 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...”) |
|||
第2行: | 第2行: | ||
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information. | remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information. | ||
fatal: unable to access 'https://github.com/zhoulujun/algorithm.git/': The requested URL returned error: 403 | fatal: unable to access 'https://github.com/zhoulujun/algorithm.git/': The requested URL returned error: 403 | ||
+ | |||
+ | |||
+ | |||
+ | 如果您有令牌,则可以在通过 HTTPS 执行 Git 操作时输入令牌,而不是密码。 | ||
+ | |||
+ | 例如,在命令行中输入以下内容: | ||
+ | |||
+ | $ git clone https://github.com/username/repo.git | ||
+ | Username: your_username | ||
+ | Password: your_token |
2021年12月19日 (日) 13:44的版本
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://github.com/zhoulujun/algorithm.git/': The requested URL returned error: 403
如果您有令牌,则可以在通过 HTTPS 执行 Git 操作时输入令牌,而不是密码。
例如,在命令行中输入以下内容:
$ git clone https://github.com/username/repo.git Username: your_username Password: your_token