git_push
Push to Remote
Push commits to the remote repository.
Usage
git_push(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_push()
git_push(remote = "origin", branch = "main")
Source: R/git_hooks.R