Skip to contents

Uploads local branch commits to a remote repository.

Usage

git_push(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_push()
git_push("origin", "feature/new-analysis")
} # }