出现fatal: protocol 'git@https' is not supported
解决方案:打开当前文件夹 shift+command+. 显示隐藏文件 打开.git文件夹下的config
将git@删去
然后重新设置远程仓库
这样就成功啦
如果出现
fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
也可以试着这样做 反正在我的电脑上可以