Skip to content

Instantly share code, notes, and snippets.

@indrekj
Created July 6, 2009 16:03
Show Gist options
  • Save indrekj/141510 to your computer and use it in GitHub Desktop.
Save indrekj/141510 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
total = ARGV[0].to_i == 0 ? 10 : ARGV[0].to_i
system(%! git log -#{total} --author="Your Name" --pretty=format:"||%ai||%H||||%s||" --reverse --all !)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment