Created
July 3, 2012 15:23
-
-
Save omgmog/3040431 to your computer and use it in GitHub Desktop.
workdone [time period] [committer email]
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
# 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