Skip to content

Pachctl create branch

pachctl create branch

Create a new branch, or update an existing branch, on a repo.

Synopsis

Create a new branch, or update an existing branch, on a repo, starting a commit on the branch will also create it, so there's often no need to call this.

pachctl create branch <repo>@<branch-or-commit> [flags]

Options

      --head string           The head of the newly created branch.
  -h, --help                  help for branch
  -p, --provenance []string   The provenance for the branch. format: <repo>@<branch-or-commit> (default [])
  -t, --trigger string        The branch to trigger this branch on.
      --trigger-all           Only trigger when all conditions are met, rather than when any are met.
      --trigger-commits int   The number of commits to use in triggering.
      --trigger-cron string   The cron spec to use in triggering.
      --trigger-size string   The data size to use in triggering.

Options inherited from parent commands

      --no-color   Turn off colors.
  -v, --verbose    Output verbose logs

Last update: April 5, 2021
Does this page need fixing? Edit me on GitHub