Learn R Programming

ghclass (version 0.1.0)

repo_mirror: Mirror repository

Description

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

Usage

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

Run this code
# NOT RUN {
repo_mirror("ghclass-test/hw1", c("ghclass-test/hw1-Team1", "ghclass-test/hw1-Team2"))
repo_mirror("ghclass-test/hw1", org_repos("ghclass-test","hw1-"))
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab