create_from_bcgov_github: Create a local repository from a bcgov GitHub repository

Description Usage Arguments Examples

View source: R/create.R

Description

Creates a new local Git repository cloned from a bcgov GitHub repository

Usage

1
create_from_bcgov_github(repo, destdir = ".", protocol = "https", ...)

Arguments

repo

bcgov GitHub repo name specified like this: bcgov/reponame

destdir

The destination directory where the cloned project will be stored locally

protocol

Transfer protocol. One of 'https' (default) or 'ssh'.

...

Other arguments passed on to usethis::create_from_github()

Examples

1
2
3
4
## Not run: 
create_from_bcgov_github("bcgov/bcgovr")

## End(Not run)

bcgov/bcgovr documentation built on Oct. 11, 2021, 2:02 p.m.