Last Reviewed: 2022-12-13
Test Sites and Apply Customizations
Go through the following steps for each child site you wish to test, or that has site-specific code. Examples of site-specific code are site-specific redirects and custom modules only present on a specific site.
- Clone the child site's repository. You can get the command from clicking Clone with Git on the Dashboard.
The command will look like the following:
- Change directory into the newly created folder:
- Add your custom upstream as a second remote called
upstreamand fetch. You can find the Custom Upstream's Git URL on the repository dashboard:
- Create a new branch called
ic-testbased on the upstream'scomposerifybranch. If this site contains unique code customizations, merge this branch later:
- Push the new
ic-testbranch to your Pantheon site:
- Create a new Multidev environment from the
ic-testbranch using Terminus:
-
Again, add, commit, and push any code customizations that were specific or unique to this site.
Compare the site's
masterbranch to your Custom Upstream'smasterbranch using the following commands:To assess files which have been changed:
To assess the line-by-line differences for a specific file:
-
View and test the Multidev environment.
