方法有三种:方法1.修改命令
git remote set-url origin <url>
方法2.先删后加
git remote rm origin git remote add origin [url]
方法3.直接修改config文件
远程GIt仓库地址改了,如何在本地修改
原文:https://www.cnblogs.com/tzwbk/p/12672397.html