Run Commands

pachctl inspect branch

Learn about the pachctl_inspect_branch command

September 7, 2023

pachctl inspect branch #

Return info about a branch.

Synopsis #

This command returns info about a branch, such as its Name, Head Commit, and Trigger.

  • To inspect a branch from a repo in another project, use the --project flag
  • To get additional details about the branch, use the --raw flag
pachctl inspect branch  <repo>@<branch> [flags]

Examples #

 pachctl inspect branch foo@master  
 pachctl inspect branch foo@master --project bar 
 pachctl inspect branch foo@master --raw 

Options #

      --full-timestamps   Return absolute timestamps (as opposed to the default, relative timestamps).
  -h, --help              help for branch
  -o, --output string     Output format when --raw is set: "json" or "yaml" (default "json")
      --project string    Specify the project (by name) containing branch's repo. (default "video-to-frame-traces")
      --raw               Disable pretty printing; serialize data structures to an encoding such as json or yaml

Options inherited from parent commands #

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

SEE ALSO #