Skip to content

Instantly share code, notes, and snippets.

@zbyhoo
Created September 2, 2011 11:24
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 zbyhoo/1188407 to your computer and use it in GitHub Desktop.
Save zbyhoo/1188407 to your computer and use it in GitHub Desktop.
git: printing pretty one-line commits info with colors
git log --pretty=format:'%C(yellow)%h%Cred%d%Creset - %C(cyan)%an %Creset: %s %Cgreen(%cr)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment