Git

git_pull

Pull from Remote

Fetch and integrate changes from the remote repository.


Usage

git_pull(remote = "origin", branch = NULL)

Arguments

Argument Description
remote

Remote name (default: "origin")

branch

Branch name (default: current branch)

Returns

Invisibly returns TRUE on success

Examples

git_pull()
git_pull(remote = "origin", branch = "main")

Source: R/git_hooks.R