Skip to content

Instantly share code, notes, and snippets.

@briandk
Created February 13, 2013 01:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save briandk/4783779 to your computer and use it in GitHub Desktop.
Save briandk/4783779 to your computer and use it in GitHub Desktop.
A few simple one-liners for generating git logs with commit messages
# This gives a short-hash (%h), a simple date, and just the subject line of the commit
git log --format="%h | %ad | %s" --date=short
# an alternative, which omits the date
git log --oneline
# the standard git log, which usually has way too much information to be useful
git log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment