Skip to contents

Fetches changes from a remote repository and integrates them into the current branch.

Usage

git_pull(remote = NULL, branch = NULL)

Arguments

remote

Name of the remote. Default is NULL (uses default remote).

branch

Name of the branch. Default is NULL (uses current branch).

Value

Invisibly returns TRUE if successful

Examples

if (FALSE) { # \dontrun{
git_pull()
git_pull("origin", "main")
} # }