2020年windows不支持 git输入密码的邮件通知
Hi @wutiantian,
You recently used a password to access the repository at wutiantian/ReadingNotes with git using git/2.29.2.windows.3.
Basic authentication using a password to Git is deprecated and will soon no longer work. Visit https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/
Token authentication requirements for Git operations - The GitHub Blog
Last year at GitHub Universe, we introduced the GitHub Security Lab, which is committed to contributing resources, tooling, bounties, and security research to secure the open source ecosystem.
github.blog
for more information around suggested workarounds and removal dates.
Thanks,
The GitHub Team
解决办法:使用SSH密钥
生成ssh密钥
打开git-bash输入命令:
ssh-keygen -t rsa -b 4096
命令行一路回车完成操作,如图中红框位置。<