Skip to content

Instantly share code, notes, and snippets.

@jrause
Created April 22, 2015 22:29
Show Gist options
  • Select an option

  • Save jrause/f67e4a2d63db0ca41d3b to your computer and use it in GitHub Desktop.

Select an option

Save jrause/f67e4a2d63db0ca41d3b to your computer and use it in GitHub Desktop.
Generate report of all commits across all branches in a repository
for REMOTE_BRANCH in $(git branch -r | grep origin); do echo "$REMOTE_BRANCH"; git log $REMOTE_BRANCH --format='%ci|%an|%s' | grep -F -x -v -f ../"${PWD##*/}".csv >> ../"${PWD##*/}".csv; done
@pagidrayee
Copy link

report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment