repo_mirror mirrors the content of one repository to another repository, or set of repositories.

repo_mirror(source_repo, target_repo, overwrite = FALSE, verbose = FALSE)

Arguments

source_repo

Character. Address of repository in "owner/name" format.

target_repo

Character. One or more repository addresses in "owner/name" format.

overwrite

Logical. Should the target repositories be overwritten.

verbose

Logical. Display verbose output.

Examples

if (FALSE) { repo_mirror("ghclass-test/hw1", c("ghclass-test/hw1-Team1", "ghclass-test/hw1-Team2")) repo_mirror("ghclass-test/hw1", org_repos("ghclass-test","hw1-")) }