Git
git_push()
Push to Remote
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")
}