View source: R/03-clone-repos.R
ghd_clone_one | R Documentation |
Clone a repo for a specified user to a specified local repository.
ghd_clone_one(gh_user, repo, protocol, dest_dir)
gh_user |
Character string. A GitHub user name. |
repo |
Character string. A GitHub repo name for the named |
protocol |
Character string. Either |
dest_dir |
Character string. A local file path where the zipped repositories will be downloaded to. Must be a full path. |
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.
The named user's named repo cloned to the specified location.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.