解决方法主要有两个 1 1. 改用ssh ssh-keygen 然后把pub文件中的内入粘贴到github上 2.申请Access Token 在github上 生成access token 后 2,需要密码的地方粘贴token 就可以了 https://help.github.com/articles/https-cloning-errors/#provide-access-token-if-2fa-enabled ↩https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/ ↩