create_from_bcgov_github: Create a local repository from a bcgov GitHub repository

View source: R/create.R

create_from_bcgov_githubR Documentation

Create a local repository from a bcgov GitHub repository

Description

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

Usage

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

## Not run: 
create_from_bcgov_github("bcgov/bcgovr")

## End(Not run)


bcgov/bcgovr documentation built on Sept. 26, 2024, 10:15 a.m.