← Back

getTree

Gets a Git tree at either a given sha or the head of the default branch

Examples

Get the tree at the current SHA:

type: getTree

Get a recursive tree, to include files nested in directories:

type: getTree
recursive: true

Options

Title Property Description Default Required
Sha sha The commit sha to get the tree for.
Recursive recursive Include sub-paths, not just the top level directory.