git_checkout_pull_request {gert} | R Documentation |
GitHub Wrappers
Description
Fetch and checkout pull requests.
Usage
git_checkout_pull_request(pr = 1, remote = NULL, repo = ".")
git_fetch_pull_requests(pr = "*", remote = NULL, repo = ".")
Arguments
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 |
Details
By default git_fetch_pull_requests
will download all PR branches. To
remove these again simply use git_fetch(prune = TRUE)
.
[Package gert version 2.1.0 Index]