[TYPO3-v4] Working with submodules

Andreas Kiessling kiessling at pluspol.info
Tue May 10 17:06:14 CEST 2011


Hi Olly,

> Imagine you're on master, then you need to do the following:
> # git checkout TYPO3_4-5
> # git pull
> # git submodule update --init
>
> The "pull" ensures that you get the recent submodule pointers. The
> "--init" parameter ensures that the submodules are initialized correctly
> if it's the first time on the accordant branch - if initialization is
> not required, Git will just do the update - thus "--init" does not hurt.
>
> The difference between svn:externals and the Git submodule is, that in
> the Git world a pointer to a specific commit in the submodule is used.
> If something is changed in the submodule then the pointer has to be
> raised in the super project (TYPO3 Core in this case). Raising the
> pointers will be done by the Release Team or any automatic script later on.

Thanks a lot for the explanation!

Regards,
Andreas


More information about the TYPO3-project-v4 mailing list