Skip to content

This is handy helper if you want to make gh requests related to the current project.

Usage

gh_tree_remote(path = ".")

Arguments

path

Path that is contained within a git repo.

Value

If the repo has a github remote, a list containing usernameand repo. Otherwise, an error.

Examples

if (FALSE) { # interactive()
gh_tree_remote()
}