Git magic for the subtree import with drk.de¶
For the import we used the following commands:
git remote add drk.de git@gitlab.com:drk-intern/drk-de/typo3.git
git fetch drk.de
git read-tree --prefix=DistributionDRKde/ -u drk.de/stable
git commit -m "Imported XXX as a subtree."
For the update the following is needed once
git remote add drk.de git@gitlab.com:drk-intern/drk-de/typo3.git
git fetch drk.de
Each update is then triggered via the following command
git pull -s subtree drk.de stable
See the following stack overflow article for details