View source: R/list_github_files.R
get_default_branch | R Documentation |
Get default branch of a GitHub repository
get_default_branch(repo, owner = "curso-r")
repo |
Repository name (excluding owner). |
owner |
GitHub organization (default is |
A string.
get_default_branch("main-web-scraping")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.