Skip to content

Instantly share code, notes, and snippets.

@AleksandrMihhailov
Created December 30, 2016 10:39
Show Gist options
  • Save AleksandrMihhailov/09ea4650da30f01d6e144534c3ea0469 to your computer and use it in GitHub Desktop.
Save AleksandrMihhailov/09ea4650da30f01d6e144534c3ea0469 to your computer and use it in GitHub Desktop.
Beautiful git log in terminal
# git lg - to see the log
# git lg -p - to see lines, which was changed
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment