-
-
Save sebastianjt/6117501 to your computer and use it in GitHub Desktop.
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 | |
date +"%A %B %d, %Y at %T" | |
lines=`tput lines` | |
lines=`expr $lines - 5` | |
git --no-pager log --graph --decorate --pretty=oneline --abbrev-commit --color --all $* | head -n $lines | |
sleep 1 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment