ghc_clone_repository: Clone a repository to the target directory

ghc_clone_repositoryR Documentation

Clone a repository to the target directory

Description

Clone a repository to the target directory

Usage

ghc_clone_repository(url, path = NULL, token = NULL, pull = TRUE)

Arguments

url

the https://... repository

path

the directory to clone to, if not provided, clones into the current working directory with the repository name

token

the authentication token (only required for private repositories if global credentials are not set)

pull

if the repository already exists, whether to update it from the remote (see ghc_repos_git_pull)

Value

whether the repository was cloned/pulled


KopfLab/ghctools documentation built on Feb. 20, 2023, 9:25 a.m.