Skip to main content

getmain

inctl solution_version getmain

Get main branch id.

Synopsis

Get the main branch id for the given branch id.

inctl solution_version getmain [flags]

Examples

inctl solution_version getmain --branch_id "$SOLUTION_ID"

Options

      --branch_id string   ID of the branch to get the main branch for.
-h, --help help for getmain

Options inherited from parent commands

      --org string       The Intrinsic organization to use. You can set the environment variable
INTRINSIC_ORG=organization to set a default organization.
-o, --output string (optional) Output format. One of: (json, ndjson)
--print-trace Print the trace identifier when exiting.
-p, --project string The Google Cloud Project (GCP) project to use. You can set the environment variable
INTRINSIC_PROJECT=project_name to set a default project name.

SEE ALSO