SHOW LOGS
Show the commit history or log of a source within the selected reference. This command is similar to the git log command.
SyntaxSHOW LOG[S]
[ AT { REF[ERENCE] | BRANCH | TAG | COMMIT } <reference_name> ]
[ IN <source_name> ]
Parameters
AT ( REF[ERENCE] | BRANCH | TAG | COMMIT ) <reference_name> String Optional
Specifies the reference for which you want to show the commit history. When this parameter is omitted, the current reference is used.
REF
: Identifies a specific branch, tag, or commit.BRANCH
: Identifies the branch.TAG
: Identifies the tag.COMMIT
: Identifies the commit. Commit hashes must be enclosed in double quotes (for example,“ff2fe50fef5a030c4fc8e61b252bdc33c72e2b6f929d813833d998b8368302e2”
).
IN <source_name> String Optional
The name of the Nessie source where the reference exists. When this parameter is omitted, the current Nessie source in the query context is used.
Examples
Show the commit history of the current sourceSHOW LOGS
SHOW LOGS
AT BRANCH myBranch
SHOW LOGS
AT COMMIT "c7a79c74adf76649e643354c34ed69abfee5a3b070ef68cbe782a072b0a418ba"
in mySource