Multiple urls for submodule?

Suppose you have a git project with a submodule that can be accessed through several URLs, for example $url1and $url2(which are supposed to be synchronized). In a team, some people do not have access to $url1, while other people do not have access to $url2.

Is it possible in git to add a submodule with "either $url1or $url2", that if it is $url1unavailable, is it trying $url2?

+3
source share

All Articles