fatal:remote origin already exists.

来源:互联网 发布:大数据处理算法 编辑:程序博客网 时间:2024/05/29 03:41

Git提示:fatal:remote origin already exists.
使用git添加远程仓库时出现此提示。
解决办法:
1、先删除远程仓库

git remote rm origin

2、再添加远程仓库

git remote add origin http://github.com/ahhxfeng/GitLearning.git
原创粉丝点击