/* This workflow assumes you have installed Drush and have downloaded Pantheon site aliases with terminus aliases
*/
- Set bash variable:
SITE=<sitename>
- Clone your LIVE environment to DEV in Pantheon
terminus env:clone-content --updatedb -- $SITE.live dev
(Optional, but recommended) - Commit all LOCAL changes in Git.
- Export configs on LOCAL:
drush config:export
- Commit changes on LOCAL:
git commit -am "export local configs to code"
- Pull remote changes from LIVE to LOCAL:
drush config:pull @$SITE.live @self:../config/
- Resolve any conflicts and then commit on LOCAL:
git commit -am "resolve config code conflicts"
- Push changes up to remote DEV:
git push origin