git修改远程仓库地址

方法有三种:

1.修改命令 git remote set-url origin [url]

例如: git remote set-url origin https://github.com/boonook/react-native.git

2.先删后加 git remote rm origin

git remote add origin [url]

3.直接修改config文件 --------------------- 本文来自 码农甲乙丙 的CSDN 博客 ,

全文地址请点击:https://blog.csdn.net/u012852597/article/details/79241548?utm_source=copy

原文地址:https://www.cnblogs.com/boonook/p/9692641.html