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

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

原文地址:https://www.cnblogs.com/Hhuizi/p/13201911.html