Run Commands

Pachctl list commit

pachctl list commit #

Return a list of commits.

Synopsis #

Return a list of commits, either across the entire pachyderm cluster or restricted to a single repo.

pachctl list commit [<commit-id>|<repo>[@<branch-or-commit>]] [flags]

Examples #


# return all commits
$ pachctl list commit

# return commits in repo "foo"
$ pachctl list commit foo

# return all sub-commits in a commit
$ pachctl list commit <commit-id>

# return commits in repo "foo" on branch "master"
$ pachctl list commit foo@master

# return the last 20 commits in repo "foo" on branch "master"
$ pachctl list commit foo@master -n 20

# return commits in repo "foo" on branch "master" since commit XXX
$ pachctl list commit foo@master --from XXX

Options #

      --all               return all types of commits, including aliases
  -x, --expand            show one line for each sub-commmit and include more columns
  -f, --from string       list all commits since this commit
      --full-timestamps   Return absolute timestamps (as opposed to the default, relative timestamps).
  -h, --help              help for commit
  -n, --number int        list only this many commits; if set to zero, list all commits
      --origin string     only return commits of a specific type
  -o, --output string     Output format when --raw is set: "json" or "yaml" (default "json")
      --project string    Project in which commit is located. (default "openCV")
      --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