Clone

Function:

This tool calls the Git clone command to clone a repository into a new directory.

Attributes:

Attribute Type Description
Clone Type [M] Selection Specifies the type of clone. Valid values are:
  • Full
  • Depth
  • Since

Parameters:

Parameter Name I/O Type Description
Remote URL [M] I String URL of the remote repository to be cloned.
Local Path [M] I String Path to the local directory as clone target.
Depth [O] I String Depth parameter of the Git clone command restricts the history of the clone to the specified number of commits.

The parameter is only visible if the clone type of the tool is set to Depth.

Since [O] I String This corresponds to the shallow-since parameter of the Git clone command which restricts the history of the clone to versions created after the specified time.

The parameter is only visible if the clone type of the tool is set to Since.

Branch [O] I String Name of the new branch.
Checkout [O] I String Defines whether a check out of HEAD is performed after the clone is complete; if set to true a check out of Head is performed.
Additional Parameter* [O] I String Additional Git command parameter(s); each additional Git command parameter must be modelled in its own tool parameter.
Messages [O] O String Command output messages.