Bootstrap a Site from Git
Create a new site with no parent
Clone the repository you want to bootstrap from to disk on the same machine hosting the new site:
Change your working directory to the newly-cloned repository:
Import the contents of the repository into your newly created site, excluding root files and the
.git
tree:Be sure to substitute
my-site-handle
at the endCheck if the imported site offers a
php-config/Git.config.d
file mapping the source repository into the site tree. It may be wrapped in anif
condition checking the site handle that must be made to match the current site to activate it. Visit/git/status
to initialize the repository link to enable pushing/pulling ongoing changes to the git repository
Last updated