Push a local repo to a GitHub repository

push(
  path = getwd(),
  remote_name = "origin",
  remote_branch = "master",
  verbose = TRUE,
  ...
)

Arguments

path

full path to local repository to be pushed

remote_name

name of remote to push to. Defaults to "origin".

remote_branch

name of branch on the remote to push to. Defaults to "master" or "main" if the cardinal branch is using this newer default.