| pr {gitr} | R Documentation |
Git PR Utilities
Description
Git PR Utilities
Usage
get_pr_msgs(branch = NULL)
get_pr_sha(branch = NULL)
Arguments
branch |
Character. The name of a branch, typically a feature branch. |
Value
get_pr_msgs(): see get_commit_msgs().
get_pr_sha(): character vector of shas corresponding to the PR
(relative to the default branch).
Functions
-
get_pr_msgs(): gets the commit messages for the current branch relative to theorigin/{main,master}branch in the remote. Typically these "new" commits that would be merged as part of a PR toorigin/{main,master}. -
get_pr_sha(): gets the commit SHA1 current branch relative to thedefaultbranch in the remote, usually eitherorigin/mainororigin/master. Seegit_default_br().
[Package gitr version 0.0.1 Index]