1、使用git remote -v查看当前remotes
origin https://github.com/user/remote1.git (fetch)
origin https://github.com/user/remote1.git (push)
2、修改为当前remotes
git remote set-url origin https://github.com/user/remote2.git
Git服务器IP变更,修改Git地址
最新推荐文章于 2025-04-14 18:57:06 发布