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
Option | Description |
---|---|
--ansi | Force (or disable --no-ansi) ANSI output |
--define | Define a configuration item value. |
--force | Force a commit even if there doesn't seem to be anything to commit. This can lead to an empty commit. |
--help | Display help for the given command. When no command is given display help for the <info>list</info> command |
--message | Commit message |
--no-ansi | Negate the "--ansi" option |
--no-interaction | Do not ask any interactive question |
--quiet | Do not output any message |
--verbose | Increase the verbosity of messages: 1 for normal output (-v), 2 for more verbose output (-vv), and 3 for debug (-vvv) |
--version | Display this application version |
--yes | Answer all confirmations with "yes" |