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 [email protected]

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

# subscribe to commits in repo "test" on branch "master", but only for new commits created from now on.
$ pachctl subscribe commit [email protected] --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
      --raw               disable pretty printing, print raw json

Options inherited from parent commands

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