Skip to content

Git Pull

Fetches and merges changes from a remote into the current branch.

Inputs#

Port Description
invalid port type: git-repo Repository
The local repository to pull changes into.
invalid port type: credentials Credentials
Optional credentials for accessing a private remote repository.

Outputs#

Port Description
Success
Executes if the pull is successful or if the repository is already up-to-date.
Error
Executes if the pull fails due to an error (e.g., merge conflict, authentication failure).

Addendum#

This node performs a git pull operation on the specified local repository. This command is a combination of git fetch and git merge, which updates the current local branch with all new commits from the corresponding remote branch.

The Success output is triggered both for a successful pull and if the repository is already up-to-date.

ID: core/git-pull@v1