Cloning the TYPO3 Phoenix Base Distribution

This assumes you have set up ssh (username and port) and git (username and email) already. You can copy and paste the following commands directly.

git clone --recursive git:// TYPO3v5
cd TYPO3v5
scp -p -P 29418 .git/hooks/
git config remote.origin.push HEAD:refs/for/master
git submodule foreach 'scp -p -P 29418 .git/hooks/'
git submodule foreach 'git config remote.origin.push HEAD:refs/for/master'
git submodule foreach 'git checkout master; git pull'

You will also have to configure your pushurl, see

(Lots of output omitted)

You now have a clone of the TYPO3 Phoenix Base Distribution.

What happens is the following:
  • Clone the TYPO3 Phoenix distribution into the folder TYPO3v5. Do this recursively, i.e. set up submodules right away.
  • Change into the new directory
  • Install the gerrit commit-msg hook for the distribution clone
  • Configure as default push target for submitting code for review (two lines)
  • Install the gerrit commit-msg hook for all submodule clones
  • Configure default push target for all submodule clones (two lines)
  • Switch all submodules to the master branch

Updated by Robert Lemke over 10 years ago ยท 8 revisions