Documentation and Support Documentation and Support

octopus project branch

Manage project branches in Octopus Deploy

Usage:
  octopus project branch [command]

Aliases:
  branch, variable

Available Commands:
  create Create a Git branch for a project
  help Help about any command
  list List project branches

Global Flags:
  -h, --help                   Show help for a command
      --no-prompt              Disable prompting in interactive mode
  -f, --output-format string   Specify the output format for a command ("json", "table", or "basic") (default "table")
  -s, --space string           Specify the space for operations


Use "octopus project branch [command] --help" for more information about a command.

Examples

Octopus Samples instance

Many of the examples we use, reference the samples instance of Octopus Deploy. If you’d like to explore the samples instance, you can log in as a guest.

$ octopus project branch list "Deploy Web App"
$ octopus project branch create -p "Deploy Web App" --new-branch-name add-name-variable --base-branch refs/heads/main -

Learn more

Help us continuously improve

Please let us know if you have any feedback about this page.

Send feedback

Page updated on Thursday, February 1, 2024