grgit-show

Name

grgit-show - Show a commit

Synopsis

grgit.show()
grgit.show(commit: <revstr>)
grgit.show {
  commit = <revstr>
}

Description

Shows a commit including it’s message and diff.

Returns a CommitDiff for the given commit.

Options

commit

(Object, default: HEAD) A revstring-ish object naming the commit to be shown. Commit-ish object names to include the history of in the output. For a more complete list of ways to specify a revstring, see grgit-resolve (specifically the toRevisionString method).

Examples

See Also