Skip to content

Instantly share code, notes, and snippets.

@tallsam
Forked from sebastianjt/git-loglive
Created April 29, 2014 01:16
Show Gist options
  • Save tallsam/11388515 to your computer and use it in GitHub Desktop.
Save tallsam/11388515 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