Skip to content

Instantly share code, notes, and snippets.

@anreton
Last active July 28, 2021 19:15
Show Gist options
  • Save anreton/eb2ec1ca630aee1dabb2800a643fb1aa to your computer and use it in GitHub Desktop.
Save anreton/eb2ec1ca630aee1dabb2800a643fb1aa to your computer and use it in GitHub Desktop.
Git: Log Style
git config --global alias.hist "log --graph --date=format:'%Y-%m-%d %H:%M:%S' --pretty=format:'%C(red)%h%Creset%C(yellow)%d%Creset %C(white)%s%Creset %C(green)(%ad, %cr)%Creset %C(magenta)<%an - %ae>%Creset'"
@anreton
Copy link
Author

anreton commented Nov 6, 2017

Here's how this style looks:

gitlogstyle_demo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment