这种情况是你的github上没有权限
解决方案:
在你的电脑上配置ssh
首先使用git初始化你的用户名和邮箱
git config --global user.name "yourname"git config --global user.email“your@"
给你的邮箱生成ssh密匙
ssh-keygen -t rsa -C "your@"
最后到ssh目录下面找到id_rsa和id_rsa.pub文件
打开id_rsa.pub文件,把内容复制一下
最后打开你的github选择setting
在选择ssh
new一个ssh
把刚刚复制的内容放进去
在上传就可以了