Description Usage Arguments Value Examples
Migrate a remote git repository
1 2 3 4 | repo_migrate(clone_url, repo_name, uid = NULL, description = "",
mirror = TRUE, private = FALSE,
api_endpoint = Sys.getenv("GITEA_BASE_URL"),
gitea_token = Sys.getenv("GITEA_PAT"))
|
clone_url |
|
repo_name |
name for the gitea repo |
uid |
numeric. Get it from |
description |
repo description |
mirror |
should this be a mirror? defaults to |
private |
should this default to "private"? defaults to |
api_endpoint |
URL prefix for your gitea server (no trailing '/') |
gitea_token |
NOTE: we use |
list
1 2 3 4 | ## Not run:
repo_migrate("git://github.com/hrbrmstr/ssllabs", "sslabs")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.