Skip to content

Instantly share code, notes, and snippets.

@marcohamersma
Created June 11, 2012 08:29
Show Gist options
  • Save marcohamersma/2909086 to your computer and use it in GitHub Desktop.
Save marcohamersma/2909086 to your computer and use it in GitHub Desktop.
Gives a list of all the commits that you've done in the last day, or x days if you add a number of days as an argument
function standup {
if [ $1 ]; then dayno=$1; else dayno='1'; fi
git log --author=marco --since=$dayno.days --until 06:00 --all --reverse --format="%Cblue%h%Creset %s %Cgreen %cr"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment