Skip to content

Instantly share code, notes, and snippets.

@jasonLaster
Created January 22, 2017 04:21
Show Gist options
  • Save jasonLaster/031ddba30e5822846d9f2ddcc4d58a12 to your computer and use it in GitHub Desktop.
Save jasonLaster/031ddba30e5822846d9f2ddcc4d58a12 to your computer and use it in GitHub Desktop.
weeks = 30
weeks.times do |i|
week = weeks - i
puts `git log --oneline --since #{week}.weeks --before #{week-1}.weeks --pretty=format:"%aN" | sort | uniq | wc -l`
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment