1

I have been asked to produce stats on our Git repository. We have some developers that appear to be unproductive lately and I was told to list the last N commits of a given author (and yes, I hate being forced to do that...).

I tried git log --author=Bob which works well, but only on the current branch. I'd like to find all the last commits, in all existing branches.

How can I achieve that ?

ereOn
  • 53,676
  • 39
  • 161
  • 238

1 Answers1

0

you can combine git log --author=Bob with for each loop in shell script.

  1. git branch -l - will give you all the local branches
  2. git branch -r - will give you all the remote branches
0x90
  • 39,472
  • 36
  • 165
  • 245