git_push: Push to Remote

View source: R/git_hooks.R

git_pushR Documentation

Push to Remote

Description

Push commits to the remote repository.

Usage

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

Arguments

remote

Remote name (default: "origin")

branch

Branch name (default: current branch)

Value

Invisibly returns TRUE on success

Examples


if (FALSE) {
git_push()
git_push(remote = "origin", branch = "main")
}



framework documentation built on Feb. 18, 2026, 1:07 a.m.