Skip to content

Instantly share code, notes, and snippets.

@timokoola
Created January 6, 2016 12:11
Show Gist options
  • Select an option

  • Save timokoola/95fea657a5cbb1a0d7cb to your computer and use it in GitHub Desktop.

Select an option

Save timokoola/95fea657a5cbb1a0d7cb to your computer and use it in GitHub Desktop.
My git log format line to create hourly reports from commit messages
# Prints out a tab separated line that includes short date format, placeholder for daily hours, double-slash, commit message and a full date in isoformat
git log --reverse --date=short --format="%cd%x0908:00%x09%s%x2F%x2F%ci"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment