> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# commit

> Commits all modifications to tracked files into the local repository. If there are no files to commit in local repository, the commit will not be perf

Commits all modifications to tracked files into the local repository. If there are no files to commit in local repository, the commit will not be performed.

# Inputs

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Input Name**</th><th>**Input Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Instance Code</td><td>`FDGIT_INP_INSTANCE_CODE`</td><td>Yes</td><td>The FlexDeploy SCM instance where Git properties are configured.</td></tr><tr><td>Destination Subfolder</td><td>`FDGIT_INP_DEST_SUBFOLDER`</td><td>No</td><td>Path relative to the FD\_TEMP\_DIR of the local git repository. If not provided, the temp directory will be used.</td></tr><tr><td>Name</td><td>`FDGIT_INP_NAME`</td><td>Yes</td><td>Name used for the Committer and Author values.</td></tr><tr><td>Email</td><td>`FDGIT_INP_EMAIL`</td><td>Yes</td><td>Email used for the Committer and Author values.</td></tr><tr><td>Revision Message</td><td>`FDGIT_INP_REVISION_MESSAGE`</td><td>No</td><td>The message that will be attached to this commit.</td></tr></tbody></table>

# Artifacts

This operation doesn't consume or produce any artifacts.  

# Endpoint Selection

This operation delegates endpoint selection to the workflow developer. The workflow editor will default the selection to "All", which selects all available endpoints associated to the target.

Selecting a specific resource will result in selection of endpoints associated to the target which have that resource defined.

# Endpoint Execution

This operation will execute on any one of the selected endpoints and will be random in the determination of which one.

# Special Considerations

This operation uses the `–all` option and uses `FDGIT_INP_REVISION_MESSAGE` for the commit message.
