Skip to content

pipe switch

Synopsis

pipe switch <owner>/<name> [tag]
pipe switch <owner>/<name> -b <new-tag>

Description

Switches the active tag for a Hub pipeline. Without a tag argument, shows an interactive selection list of available tags.

Arguments

ArgumentDescription
<owner>/<name>Hub pipeline path
[tag]Tag or blob SHA prefix to switch to

Flags

FlagShortDescription
--create <name>-bCreate a new editable tag from current HEAD and switch to it

Examples

Terminal window
# Switch to a specific tag
pipe switch myorg/deploy v1.0.0
# Interactive tag selection
pipe switch myorg/deploy
# Create an editable tag and switch to it
pipe switch myorg/deploy -b dev
# Switch to a blob by SHA prefix
pipe switch myorg/deploy abc123

See also