Skip to content

Instantly share code, notes, and snippets.

@ttscoff
Created January 31, 2012 02:31
Show Gist options
  • Save ttscoff/1708331 to your computer and use it in GitHub Desktop.
Save ttscoff/1708331 to your computer and use it in GitHub Desktop.
Git log for the last day, formatted for journal insertion
git log --pretty=format:"%h %ad | %s%d [%an]" --graph --date=short --since="`date -v-1d '+%m/%d/%y'`"
Prettier:
git log --pretty=format:"%ad | [`pwd`]%n- %s%d" --graph --date=short --since="`date -v-1d '+%m/%d/%y'`"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment