Cherry-to

Create a reviewed delivery pull request containing the squashed changes from another pull request

sfp cherry-to run

Create a reviewed delivery pull request containing the squashed changes from another pull request

USAGE
  $ sfp cherry-to run -p <value> -b <value> [--json] [--repository <value>] [-e <value>] [-t <value>]
    [--sfp-server-url <value>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

FLAGS
  -b, --target=<value>             (required) Existing target branch for the delivery pull request
  -e, --email=<value>              Email address for authenticated user. Ignored if --application-token is provided. Can
                                   be set via SFP_SERVER_USER env var.
  -p, --source-pr=<value>          (required) Number of the source pull request to cherry-pick
  -t, --application-token=<value>  Application token for CI/CD authentication. Can be set via SFP_SERVER_TOKEN env var
                                   (CLI flags take precedence over env vars).
      --loglevel=<option>          [default: info] logging level for this command invocation
                                   <options: trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL>
      --repository=<value>         The repository identifier. E.g `owner/repo` for GitHub/GitLab or `org/project/repo`
                                   for Azure DevOps
      --sfp-server-url=<value>     URL of the SFP server. Can be set via SFP_SERVER_URL env var or config: sfp
                                   config:set server-url

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Create a reviewed delivery pull request containing the squashed changes from another pull request

EXAMPLES
  $ sfp cherry-to:run --repository flxbl-io/sf-core --source-pr 123 --target release/1.0

  $ sfp cherry-to:run --repository flxbl-io/sf-core --source-pr 123 --target release/1.0 --json

On this page