Skip to content

Instantly share code, notes, and snippets.

@fission6
Created November 28, 2012 00:55
Show Gist options
  • Save fission6/4158289 to your computer and use it in GitHub Desktop.
Save fission6/4158289 to your computer and use it in GitHub Desktop.
git alias for summarizing your/teams day of work (good for invoicing) by showing commit messages for the last day
[alias]
lg = log --graph --oneline --decorate --all
today = log --since=midnight --pretty='format:%an @ %ad%n%Cblue%s%n'
add this to ~/.gitconfig
then go
$ git today
some_commiter @ Tue Nov 27 19:15:02 2012 -0500
added map functionality to admin
some_commiter @ Tue Nov 27 18:27:37 2012 -0500
import personnel
some_commiter @ Tue Nov 27 19:08:07 2012 +0000
updated cache file
some_commiter @ Tue Nov 27 13:30:44 2012 -0500
removed reraise
some_commiter @ Tue Nov 27 13:09:20 2012 -0500
added a sleep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment