Skip to content

Development Cheat Sheet

The following contains a summary of the common commands & concepts you might need to know when developing with Genesis.

See the rest of the Developer Guide to find more detailed information on the processes & context for how to use them.

MMT

Note

The following mmt commands are typically run within the miva-templates/ directory.

mmt checkout

Usage:

Terminal
mmt checkout REMOTE_CODE [-z]

Overwrite Local Files:

Terminal
mmt checkout jsmith/production

Keep Local Files:

Terminal
mmt checkout jsmith/production -z

mmt branch create

Usage:

Terminal
mmt branch create NEW_BRANCH_CODE --from SOURCE_BRANCH_CODE --store-code STORE_CODE --credential-key CREDENTIAL_KEY

Example:

Terminal
mmt branch create dev --from production --store-code jsmith --credential-key jsmith

mmt push

Usage:

Terminal
mmt push --notes="YOUR_MESSAGE_HERE"

Example:

Terminal
mmt push --notes="modified PROD page"