Pachctl subscribe commit

pachctl subscribe commit

Print commits as they are created (finished).

Synopsis

Print commits as they are created in the specified repo and branch. By default, all existing commits on the specified branch are returned first. A commit is only considered 'created' when it's been finished.

pachctl subscribe commit <repo>@<branch>

Examples

# subscribe to commits in repo "test" on branch "master"
$ pachctl subscribe commit test@master

# subscribe to commits in repo "test" on branch "master", but only since commit XXX.
$ pachctl subscribe commit test@master --from XXX

# subscribe to commits in repo "test" on branch "master", but only for new commits created from now on.
$ pachctl subscribe commit test@master --new

Options

      --from string       subscribe to all commits since this commit
      --full-timestamps   Return absolute timestamps (as opposed to the default, relative timestamps).
      --new               subscribe to only new commits created from now on
      --pipeline string   subscribe to all commits created by this pipeline
      --raw               disable pretty printing, print raw json

Options inherited from parent commands

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