Github命令行密码访问即将失效
当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
个性签名:时间会解决一切