Skip to content

Instantly share code, notes, and snippets.

@omgmog
Created July 3, 2012 15:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save omgmog/3040431 to your computer and use it in GitHub Desktop.
Save omgmog/3040431 to your computer and use it in GitHub Desktop.
workdone [time period] [committer email]
# Usage:
# workdone [time period] [committer email]
workdone(){
default="1 day ago"
email="[your email here]"
git log --committer=${2:-$email} --pretty=format:"%Cgreen%ar (%h)%n%Creset> %s %b%n" --since="${1:-$default}" --no-merges
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment