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 thedefault
branch in the remote, usually eitherorigin/main
ororigin/master
. Seegitr_default_br()
. If there are un-pushed commit on the current default branch, it returns them.