use_ghe: Connect a local repo with GitHub Enterprise

Description Usage Arguments See Also

View source: R/use_ghe.R

Description

Function in a wrapper for usethis::use_github() with the GitHub Enterprise instance.

Usage

1

Arguments

...

Arguments passed on to usethis::use_github

organisation

If supplied, the repo will be created under this organisation, instead of the login associated with the GitHub token discovered for this host. The user's role and the token's scopes must be such that you have permission to create repositories in this organisation.

private

If TRUE, creates a private repository.

visibility

Only relevant for organisation-owned repos associated with certain GitHub Enterprise products. The special "internal" visibility grants read permission to all organisation members, i.e. it's intermediate between "private" and "public", within GHE. When specified, visibility takes precedence over private = TRUE/FALSE.

protocol

One of "https" or "ssh"

See Also

Review usethis::use_github() for details.


ddsjoberg/ghe.utils documentation built on Dec. 19, 2021, 10:04 p.m.