Pantheon Community

How to determine code is available to commit via Terminus

1 Like

I ran into this when writing a terminus plugin that pushes active config into vcs.

In a nutshell, terminus cex <site.env> will:

  • Switch site.env connection mode to sftp
  • Export config with drush cex
  • Commit config to vcs
  • Switch site.env connection mode back to git
2 Likes