fatal: remote origin already exists.

如果输入 git remote add origin  https://github.com/(user_name)/(app_name).git
提示出错信息:fatal: remote origin already exists.
解决办法如下:
1、先输入 git remote rm origin
2、再输入 git remote add origin  https://github.com/(user_name)/(app_name).git 就不会报错了!

参考

分享到:

发表评论

沙发空缺中,还不快抢~