git错误提示:fatal: remote origin already exists.

提示出错信息:fatal: remote origin already exists.

解决方法:在add origin前先输入

$ git remote rm origin
原文地址:https://www.cnblogs.com/chenchaochao/p/6515724.html