> ## 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.

# push

> Pushes the local repository back to the remote repository by executing the git push command within the temp directory subfolder. Inputs Input Name Inp

Pushes the local repository back to the remote repository by executing the git push command within the temp directory subfolder.

# 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>Local Repository Path</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>Branch</td><td>`FDGIT_INP_BRANCH`</td><td>No</td><td>Specify the GIT Branch to push. Defaults to master.For Git 2.0 or higher clients you may receive "fatal: The current branch master has no upstream branch." if branch is not supplied.</td></tr><tr><td>Follow Tags</td><td>`FDGIT_INP_FOLLOW_TAGS`</td><td>Yes</td><td>If this input is set to true (checked) then the –follow-tags option will be set. This will push any created tags to the remote repository.</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.
