zl程序教程

您现在的位置是:首页 >  工具

当前栏目

Github命令行密码访问即将失效

GitHub密码命令行密码 访问 失效 即将
2023-09-27 14:27:45 时间

当clone私有项目时,需要输入密码,但是提示:

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: Authentication failed for 'https://hub.fastgit.org/growvv/emo_is_all_you_need.git/'

解决方案:使用access token,权限选repo就行。要你输密码的时候输token。

详见官方教程https://docs.github.com/cn/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token