gh_new_repo: Create either a personal or organization repository.

Description Usage Arguments Value See Also Examples

View source: R/repos.R

Description

Requires a PAT authentication token.

Usage

1
gh_new_repo(repo, description = NULL, private = NULL)

Arguments

repo

New repository location. In the format of "username/new_repo_name" or "organization_name/new_repo_name".

description

Repository description.

private

Whether the repository should be public or private. Default is public.

Value

Nothing. Creates a repository on GitHub.

See Also

See githubr-package.

Examples

1
2
3
4
## Not run: 
gh_new_repo("lwjohnst86/test-repo")

## End(Not run)

lwjohnst86/githubr documentation built on Aug. 17, 2020, 3:37 a.m.