Skip to content

Instantly share code, notes, and snippets.

@jhsu
Created June 15, 2010 15:15
Show Gist options
  • Save jhsu/439245 to your computer and use it in GitHub Desktop.
Save jhsu/439245 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
echo "WTF commit count:"
git log --graph --pretty=format:"%Cred%h%Creset . %an: %s %Cgreen(%cr)%Creset" --abbrev-commit --date=relative --grep=wtf -i | grep -i -v 'merge' | wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment