在我的回购中,我有以下情况:
$ git remote -v
origin http://repoA/_git/libs (fetch)
origin http://repoB/libs.git (push)
origin http://repoA/_git/qpp_libs (push)
我想从repoB
获取。这就是我想要实现的目标:
git remote set-url --add origin http://repoB/libs.git
但是在运行上面的命令之后,仍然只有3个URL:
$ git remote -v
origin http://repoA/_git/libs (fetch)
origin http://repoB/libs.git (push)
origin http://repoA/_git/qpp_libs (push)
如何添加另一个提取网址?