sync-from
Sync the content of a site from a remote repository
Note
The connection to CrafterCMS needs to be setup via the add-environment command before using the command listed here.
Usage
crafter-cli sync-from [-b=<remoteBranch>] [--config=path]
-e=<environment> [-m=none|ours|theirs]
[-n=<remoteName>] [-p=<profile>] -s=<siteId>
Options
-b, --branch=<remoteBranch>
The name of the remote branch
--config=path The folder to store configurations
-e, --environment=<environment>
The name of the environment
-m, --mergeStrategy=none|ours|theirs
The merge strategy to use
-n, --name=<remoteName> The name of the remote
-p, --profile=<profile> The name of the profile (a label to group related configurations)
-s, --siteId=<siteId> The id of the site
Example
➜ ./crafter-cli sync-from -e local -s mysite -n origin -b master OK