Changing upstreams on a Pantheon site after the fact

Context

Reasons you might want to change the upstream on an existing project vs starting a new project:

  • billing is already set up, and a hassle to redo
  • site IDs are in use in CI like Travis
  • lots of users are associated with the dashboard
  • the site is part of another organization and needs to stay that way

Terminus

If you are looking to remove the default upstream from a Pantheon site...

  1. Make sure you have Terminus installed
  2. Run the following command, replacing my-site-name with your site's Pantheon ID:
    terminus site:upstream:set my-site empty




Related pages