Skip to content

Instantly share code, notes, and snippets.

@sebastianjt
Forked from tlberglund/git-loglive
Last active December 20, 2015 10:39
Show Gist options
  • Save sebastianjt/6117501 to your computer and use it in GitHub Desktop.
Save sebastianjt/6117501 to your computer and use it in GitHub Desktop.
#!/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