devtools (version 1.8.0)

use_github: Connect a local repo with github.

Description

If the current repo does not use git, calls use_git automatically.

Usage

use_github(auth_token = github_pat(), private = FALSE, pkg = ".")

Arguments

auth_token
To install from a private repo, generate a personal access token (PAT) in https://github.com/settings/applications and supply to this argument. This is safer than using a password because you can easily delete a PAT without affecting any others
private
If TRUE, creates a private repository.
pkg
Path to package. See as.package for more information.

See Also

Other git infrastructure: use_git_hook; use_git