1、使用git remote -v查看当前remotes
例如:
View existing remotes
origin https://github.com/user/repo.git (fetch)
origin https://github.com/user/repo.git (push)
2、修改remotes
git remote set-url origin https://github.com/user/repo2.git
git远程仓库IP变更,修改本地git地址
最新推荐文章于 2024-07-29 17:55:33 发布