Skip to content

Instantly share code, notes, and snippets.

@shanedroid
Created August 10, 2018 05:37
Show Gist options
  • Save shanedroid/73881152cb9872a6898b74a9cebe57d1 to your computer and use it in GitHub Desktop.
Save shanedroid/73881152cb9872a6898b74a9cebe57d1 to your computer and use it in GitHub Desktop.
Pull all pull requests for a known date range
git fetch -p && git checkout branch && git pull origin branch
git log --merges --grep="Merge pull request #" --pretty=format:"%ad - %an: %s" --after="YYYY-MM-DD" --until="YYYY-MM-DD" > all_pull_requests_gitlog__YYYYMMDD-YYYYMMDD.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment