1.git remote 查看所有远程仓库
2.git remote xxx 查看指定远程仓库地址
3.git remote set-url origin 你新的远程仓库地址
个人亲测有效
【git】git通过命令更换远程仓库地址
最新推荐文章于 2025-07-14 11:45:09 发布
1.git remote 查看所有远程仓库
2.git remote xxx 查看指定远程仓库地址
3.git remote set-url origin 你新的远程仓库地址
个人亲测有效