Skip to content

Instantly share code, notes, and snippets.

@shanedroid
Created August 10, 2018 05:37
Show Gist options
  • Select an option

  • Save shanedroid/73881152cb9872a6898b74a9cebe57d1 to your computer and use it in GitHub Desktop.

Select an option

Save shanedroid/73881152cb9872a6898b74a9cebe57d1 to your computer and use it in GitHub Desktop.

Revisions

  1. shanedroid created this gist Aug 10, 2018.
    2 changes: 2 additions & 0 deletions git-log-fetch-pull-requests.bash
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    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