原因:
是因为git设置的ssh和https协议使用错误导致
解决方案:进行切换协议:
1. 查看当前remote
git remote -v
2. 切换到http:
git remote set-url origin xxx.git(自己分支的的master地址)
xxx.git:如果等于:https://github.com/username/repository.git
3. 切换到ssh:
git remote set-url git@github.com:username/repository.git (暂不确定是不是需要加origin)