powered by
Retrieve all branch names from a GitHub repository.
get_github_branches( gh_repo = file.path("rjdverse", "rjd3toolkit"), verbose = TRUE )
A character vector with branch names.
[character] GitHub repository in the format "owner/repo".
"owner/repo"
[logical] Whether to print current and new remote fields (default: TRUE).
TRUE
# \donttest{ get_github_branches("r-lib/usethis") # }
Run the code above in your browser using DataLab