Skip to content

Instantly share code, notes, and snippets.

@KyMidd
Created October 7, 2021 01:06
Show Gist options
  • Select an option

  • Save KyMidd/a8cbe65cbc979606928d342be37e88e2 to your computer and use it in GitHub Desktop.

Select an option

Save KyMidd/a8cbe65cbc979606928d342be37e88e2 to your computer and use it in GitHub Desktop.
# Find all commits since common ancestor
BRANCH_COMMITS=$(git rev-list ${BRANCH_MERGE_BASE}..HEAD)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment