-
-
Save tlberglund/3714970 to your computer and use it in GitHub Desktop.
#!/bin/bash | |
while : | |
do | |
clear | |
git --no-pager log --graph --pretty=oneline --abbrev-commit --decorate --all $* | |
sleep 1 | |
done |
@sebastianjt Not sure! Is your log longer than the terminal window? Sometimes I'll run it with a commit limit (git loglive -15
) to help things fit.
This is awesome! Thank you.
This is awesome! Thank you.
this helped me a lot getting into git, thank you
Thanks Tim, btw, nice git talk!
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 got-love
:)
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!
Added a version that will run on Microsoft Windows: https://gist.github.com/algonzalez/f8af7a727248b2a53ed2bcc62bcc56ba
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 $*
This is an awesome script.
Quick question: After it has run for a certain period of time it simply stops. It shows "(END)" at the very bottom and wont continue looping.
What can this issue be?