Last active
September 26, 2024 20:40
-
-
Save tlberglund/3714970 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
while : | |
do | |
clear | |
git --no-pager log --graph --pretty=oneline --abbrev-commit --decorate --all $* | |
sleep 1 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 $*