具体报错: 从StackOverflow中找到了答案。 1.在GitHub中获取一个新的token Settings -> Developer settings -> personal access tokens 创建一个新的token 2. 在git bash中: git remote set-url https://@github.com/<git_url> 然后就可以正常的push了!