Skip to main content
Command

terminus env:commit


Description

Commits code changes on a development environment. Note: The environment connection mode must be set to SFTP.

Example Usage

terminus env:commit --message MESSAGE --force -- <site>.<env>

env:commit <site>.<env> Commits code changes to <site>'s <env> environment with the default message.


env:commit <site>.<env> --message=<message> Commits code changes to <site>'s <env> environment with the message <message>.


Options

OptionDescription
--ansiForce (or disable --no-ansi) ANSI output
--defineDefine a configuration item value.
--forceForce a commit even if there doesn't seem to be anything to commit. This can lead to an empty commit.
--helpDisplay help for the given command. When no command is given display help for the <info>list</info> command
--messageCommit message
--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