原文源自:https://blog.csdn.net/u011136197/article/details/79429000/
方法有3种:
1、修改命令
git remote set-url origin <url>
2、先删除后添加
git remote rm origin
git remote add origin [url]
例如:
方法3.直接修改config文件
原文源自:https://blog.csdn.net/u011136197/article/details/79429000/
方法有3种:
1、修改命令
git remote set-url origin <url>
2、先删除后添加
git remote rm origin
git remote add origin [url]
例如:
方法3.直接修改config文件