defined behaviour for multiple urls for a remote
- From
Sitaram Chamarty <sitaramc@gmail.com>
- Date
- Oct 14, 2011, 07:07 UTC
- Message-ID
- <CAMK1S_jZJuqC6_-eVT7LJFh+DEphbsypS6f4nRb6Qc4-xBa_wQ@mail.gmail.com>
Hi,
What's the defined behaviour if I do this:
[remote "both"]
url = https://code.google.com/p/gitolite/
url = git@github.com:sitaramc/gitolite.gitI know what I'm seeing (a fetch only goes to the first URL, and does a HEAD->FETCH_HEAD because I didn't provide a refspec line, while a push seems to push all to both), but I was curious what the official position is, because I couldn't find it in the docs.
-- Sitaram