[TYPO3-dev] local git mirror og TYPO3 core & submodules

Ernesto Baschny [cron IT] ernst at cron-it.de
Wed Aug 8 09:55:13 CEST 2012


Adrien Crivelli schrieb am 08.08.2012 09:31:

>> The URLs of the submodules are part of the
>> repository itself (file .gitmodules, which is versioned just like every
>> other stuff).
> 
> 
> Actually, yes and no. Yes the file is indeed versionned, but it is possible
> to "override" those URL locally in the file .git/config. So it would be
> possible to point to a local mirror of submodules. But it must be done for
> each local clone of TYPO3 Core which probably is not convenient... at
> all... but at least you have no forking, thus no conflicts.
> 
> This "overriding" mechanism is one of the reason "git submodule sync"
> exists (see the man
> page<http://www.kernel.org/pub/software/scm/git/docs/git-submodule.html>
> )

Good pointer, thanks for the hint! Here is another useful resource of
information I just found using your bit of information:

http://stackoverflow.com/questions/913701/changing-remote-repository-for-a-git-submodule

Cheers,
Ernesto




More information about the TYPO3-dev mailing list