Custom Upstreams on Pantheon
Switch Your Custom Upstream
Learn how to switch your Custom Upstream.
This section provides steps to switch an existing site's Custom Upstream to a different Custom Upstream.
Switching the upstream of an existing site is risky. It is safer to create a new site from your Custom Upstream and migrate the contents. Back up your site first and consider our documentation on upstream merge conflicts if you must switch upstreams.
The destination Custom Upstream must share Git history with the one the site currently uses (for example, forked from or based on the same repository). A site cannot switch to an upstream with an unrelated commit history.
Switch Your Custom Upstream
Review the Terminus Switch Upstream example before following the steps below to switch your Custom Upstream.
-
Run the command below to locate your Custom Upstream's machine name, replacing
$orgwith your organization name. -
Run the command below to change the upstream, setting or replacing the variables
$siteand$upstream_idwith your site name and upstream machine name, respectively.