Mark Levedahl <mlevedahl@xxxxxxxxx> writes: > ... if what > we need to fetch from is in fact not origin (even though the master > project knows what server to access), submodule update in fact doesn't > even work ... This is an interesting point. Perhaps git-submodule.sh::modules_update should use $url it obtains from the configuration in the upper level when running git-fetch in the submodule. If you view the problem this way, your earlier "git fetch while the HEAD is detached always uses 'origin'" may turn out to be a non-issue. Which again brings us back to Johannes's earlier point. If the issue is about submodule, maybe what needs to be fixes is in git-submodule, and not the defaulting to 'origin' git-fetch and friends do. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html