Git报错remote origin already exists
报错类型:
- error: remote origin already exists.
-
fatal: protocol 'https' is not supported.
1.删掉远程仓库
git remote rm origin
2.重新建立远程仓库
git remote add origin <仓库链接地址>
再次上传,问题解决。
在复制粘贴仓库地址的时候不要误触到ctrl键,正确的复制粘贴是shift+鼠标右键。
报错类型:
fatal: protocol 'https' is not supported.
1.删掉远程仓库
git remote rm origin
2.重新建立远程仓库
git remote add origin <仓库链接地址>
再次上传,问题解决。
在复制粘贴仓库地址的时候不要误触到ctrl键,正确的复制粘贴是shift+鼠标右键。