博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

如何修改本地项目关联的远程仓库地址

Posted on 2020-06-28 11:16  Hhuizi  阅读(831)  评论(0编辑  收藏  举报
git remote -v
// 查看当前的远程仓库

git remote set-url origin https://where you want to put your repository to.git(例:https://git.huatonghh.com/11/micro-store-front-pc.git// 修改为想要设置的远程仓库

git remote -v // 验证

 

git remote -v # 查看当前的远程仓库 git remote set-url origin https://where you want to put your repository to.git# 修改为想要设置的远程仓库 git remote -v