ghd_clone_one: Clone One Repo From A GitHub User

View source: R/03-clone-repos.R

ghd_clone_oneR Documentation

Clone One Repo From A GitHub User

Description

Clone a repo for a specified user to a specified local repository.

Usage

ghd_clone_one(gh_user, repo, protocol, dest_dir)

Arguments

gh_user

Character string. A GitHub user name.

repo

Character string. A GitHub repo name for the named gh_user.

protocol

Character string. Either "https" or "ssh".

dest_dir

Character string. A local file path where the zipped repositories will be downloaded to. Must be a full path.

Details

If you're using protocol = "ssh", you need to make sure you have set up your SSH keys.

If you're using protocol = "ssh", you need to make sure you've set up your SSH keys.

Value

The named user's named repo cloned to the specified location.


matt-dray/ghdump documentation built on July 7, 2023, 5:51 p.m.