Skip to main content
Command

terminus env:code-rebuild


Description

Moves code to the specified environment's runtime from the associated git branch, retriggering Composer builds for sites using Integrated Composer. (Not applicable for Test and Live environments which run on git tags made from the Dev environment's git history.)

Example Usage

terminus env:code-rebuild <site>.<env>

env:code-rebuild <site>.<env> Sync code into the <site>'s Dev or multidev environment.


code-rebuild


Options

OptionDescription
--ansiForce (or disable --no-ansi) ANSI output
--defineDefine a configuration item value.
--helpDisplay help for the given command. When no command is given display help for the <info>list</info> command
--no-ansiNegate the "--ansi" option
--no-interactionDo not ask any interactive question
--quietDo not output any message
--verboseIncrease the verbosity of messages: 1 for normal output (-v), 2 for more verbose output (-vv), and 3 for debug (-vvv)
--versionDisplay this application version
--yesAnswer all confirmations with "yes"
Back to all commands