Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gh_tree_remote

Find the GitHub remote associated with a path


Description

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 username and repo. Otherwise, an error.

Examples

gh_tree_remote()

gh

'GitHub' 'API'

v1.3.0
MIT + file LICENSE
Authors
Gábor Csárdi [cre, ctb], Jennifer Bryan [aut], Hadley Wickham [aut], RStudio [cph, fnd]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.