Skip to content

Git Push

Updates remote refs along with associated objects.

Inputs#

Port Description
invalid port type: git-repo Repository
The Git repository object from a clone or open node.
invalid port type: credentials
Optional credentials for accessing private repositories. If not provided, the node will use the default Git configuration.
Remote Name
The name of the remote repository to push to. Defaults to 'origin'.
Branch
The branch to push. If empty, the current branch is used.
Push Tags
Whether to push local tags to the remote. Defaults to false.
Force Push
Whether to force the push (use with caution). Defaults to false.

Outputs#

Port Description
Success
Executes if the push operation is successful.
Error
Executes if there is an error during the push.

Addendum#

This node performs a git push operation to send committed changes and, optionally, tags to a specified remote.

ID: git-push@v1