Reputation: 407
In my repo I have the following situation:
$ git remote -v
origin http://repoA/_git/libs (fetch)
origin http://repoB/libs.git (push)
origin http://repoA/_git/qpp_libs (push)
I want to fetch also from repoB
. This is how I wanted to achieve this:
git remote set-url --add origin http://repoB/libs.git
But after running the command above there are still only 3 URLs:
$ git remote -v
origin http://repoA/_git/libs (fetch)
origin http://repoB/libs.git (push)
origin http://repoA/_git/qpp_libs (push)
How do I add aanother fetch URL?
Upvotes: 4
Views: 4775