如何更改 git 仓库的远端地址

HahaStrong / 2023-04-28 / 原文

首先使用 git remote -v 来查看当前仓库关联的远端地址

 

然后使用 git remote set-url origin <git>, 来更新本地仓库关联的远端代码