missing_pr_merges

Finds PRs that haven’t been merged into the current branch

Finds PRs that exist in one branch, but do not exist in the current branch.

For example. If you’re about to cut a release on production, and want to make sure that all the PRs merged into the QA branch are present you would do the following:

git checkout production
git log --oneline qa | missing_commit_titles

Note: It accomplishes this by looking for the merge commits that GitHub creates that look like the following. If your process doesn’t produce these, it won’t work.

17122df80 Merge pull request #101 from kschaper/master

Usage

USAGE: STDIN | missing_pr_merges
       For example:
       git checkout production
       git log --oneline qa | missing_commit_titles

Metadata:

Tags:

  • github
  • release_management