git_checkout_pull_request | R Documentation |
Fetch and checkout pull requests.
git_checkout_pull_request(pr = 1, remote = NULL, repo = ".")
git_fetch_pull_requests(pr = "*", remote = NULL, repo = ".")
pr |
number with PR to fetch or check out. Use |
remote |
Optional. Name of a remote listed in |
repo |
The path to the git repository. If the directory is not a
repository, parent directories are considered (see git_find). To disable
this search, provide the filepath protected with |
By default git_fetch_pull_requests
will download all PR branches. To
remove these again simply use git_fetch(prune = TRUE)
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.