Last Reviewed: 2022-12-12
Prepare
Prepare the Local Environment
-
Get a local copy of both your new site (from the external repository) and your existing site codebase.
-
In the Dev tab of the site's Dashboard, set the Development Mode to Git, and clone the site locally.
-
Change into the
$SITEdirectory, then create a new branch based on the default: -
Use Terminus and Drush to export the latest version of the config files from the production environment to
sites/default/files/config: -
For rsync, copy the SFTP host information.
-
Use that host name to rsync from
config:export: -
If you run
git statusit should display changed files in theconfigdirectory if there are any changed configurations in production.