Skip to main content
Last Reviewed: 2022-12-13

Upgrade an Upstream to the Latest Version of Drupal

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.

  1. 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:

  1. Change directory into the newly created folder:
  1. Add your upstream as a second remote called upstream and fetch. You can find the upstream's Git URL on the repository dashboard:
  1. Create a new branch called ic-test based on the upstream's composerify branch. If this site contains unique code customizations, merge this branch later:
  1. Push the new ic-test branch to your Pantheon site:
  1. Create a new Multidev environment from the ic-test branch using Terminus:
  1. Again, add, commit, and push any code customizations that were specific or unique to this site.

    Compare the site's master branch to your upstream's master branch using the following commands:

    To assess files which have been changed:

    To assess the line-by-line differences for a specific file:

  2. View and test the Multidev environment.

Example of Upstream Git URL