Run Commands

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> [flags]

Options #

      --head string           The head of the newly created branch. Either pass the commit with format: <branch-or-commit>, or fully-qualified as <repo>@<branch>=<id>
  -h, --help                  help for branch
      --project string        Project in which repo is located. (default "openCV")
  -p, --provenance []string   The provenance for the branch. format: <repo>@<branch> (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