Log Live Git Command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
|git --no-pager log --graph --pretty=oneline --abbrev-commit --decorate --all $*|
Jul 30, 2017
Nice snippet. I just caught your talk on YouTube. Thanks, it cleared up a lot of confusion. Side note, my dyslexia read this snippet as
Oct 16, 2018
I came across Git From The Bits Up on YouTube and, wow, you actually talk about things I've never heard of in nearly six years of using Git! I'm learning instead of reviewing! Thanks!
Sep 1, 2020
Added a version that will run on Microsoft Windows: https://gist.github.com/algonzalez/f8af7a727248b2a53ed2bcc62bcc56ba
Sep 24, 2021
Recently watched your talk on javazone, just loved id!
Btw, you can also use watch command instead of while loop in bash
watch -cwt unbuffer git --no-pager log --graph --pretty=oneline --abbrev-commit --decorate --all $*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
I just wanted to share a modification of this script. it shows the logs depending on the position of HEAD.