Git PR Utilities
Value
gitr_pr_msgs(): see gitr_commit_msgs().
gitr_pr_sha(): character vector of SHAs
corresponding to the PR (relative to the default branch).
Functions
gitr_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}.gitr_pr_sha(): gets the commit SHA-1 a branch (by default current) relative to thedefaultbranch in the remote, usually eitherorigin/mainororigin/master. Seegitr_default_br(). If there are un-pushed commit on the current default branch, it returns them.