-
-
Save rkh/74335 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Usage: git-thanks <since>..<until> | |
# | |
# All commits on master, ever: | |
# git-thanks master | |
# | |
# All commits on master since the 0.9.0 tag: | |
# git-thanks 0.9.0..master | |
git log "$1" | | |
grep Author: | | |
sed 's/Author: \(.*\) <.*/\1/' | | |
sort | | |
uniq -c | | |
sort -rn | | |
sed 's/ *\([0-9]\{1,\}\) \(.*\)/\2 (\1)/' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd sinatra | |
$ git-thanks master | |
Blake Mizerany (270) | |
Ryan Tomayko (171) | |
Markus Prinz (28) | |
Simon Rozet (21) | |
Chris Schneider (10) | |
Nicolas Sanguinetti (5) | |
Nickolas Means (4) | |
Adam Wiggins (4) | |
Damian Janowski (3) | |
raggi (2) | |
Karel Minarik (2) | |
Brandon Dimcheff (2) | |
Ben Bleything (2) | |
ichverstehe (1) | |
a_user@mac.com (1) | |
Widi Harsojo (1) | |
Victor Hugo Borja (1) | |
Scott Wisely (1) | |
Sam Roberts (1) | |
S. Brent Faulkner (1) | |
Peter Suschlik (1) | |
Pat Nakajima (1) | |
Matias Käkelä (1) | |
Julio Capote (1) | |
Jon Crosby (1) | |
Jeremy Evans (1) | |
Jack Danger Canty (1) | |
Igal Koshevoy (1) | |
Harry Vangberg (1) | |
Erik Kastner (1) | |
Dylan Egan (1) | |
Devlin Daley (1) | |
Aupajo (1) | |
Andreas Haller (1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment