fgit_clone {fgitR}R Documentation

Git Clone from URL by FastGit

Description

Git Clone from URL by FastGit

Usage

fgit_clone(
  repo,
  dir = tempdir(),
  branch = NULL,
  repo_check = TRUE,
  overwrite = FALSE,
  verbose = TRUE
)

Arguments

repo

The repository name or url from GitHub.com

dir

The output directory. 'tempdir()' will be used by default.

branch

Clone from which branch.

repo_check

Check the existence of repository

overwrite

Overwrite the exist directories. Default is 'FALSE'

verbose

Verbose logs. Default is 'TRUE'

Value

No return value, called for side effects

Examples

## Not run: 
fgit_clone("https://github.com/womeimingzi11/fgitR", overwrite = TRUE)
fgit_clone("womeimingzi11/fgitR", overwrite = TRUE)

## End(Not run)

[Package fgitR version 0.2.0 Index]