![](https://dhampik.com/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBIZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--d3105d240196cc6f9f30a0588dc9d7740231950c/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBPZ2h3Ym1jNkVuSmxjMmw2WlY5MGIxOW1hWFJiQjJrQmdHa0JnQT09IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--97dc6d68b366554a9907e9783c9a0c17c15569ec/git_log.png)
I work with git in console pretty often. Commits, pulls, pushes, checking out branches, diffs — I do all that stuff. Of course, more complicated operations, like merge, I perform with GUI tools (IntelliJ IDEA is pretty good for that). Sometimes it's pretty useful to be able to check history log in a readable view without switching from console to some other program.
I configured an alias for pretty git log output with colors, dates, branches, etc. Since sometimes there is a case when I need to restore that config setting (e.g. when I move to another computer), I decided to put it into public. Maybe it'll be useful for someone besides me.