Skip to content

Instantly share code, notes, and snippets.

@ofiesh
Forked from tlberglund/git-loglive
Last active December 11, 2015 16:09
Show Gist options
  • Save ofiesh/4625778 to your computer and use it in GitHub Desktop.
Save ofiesh/4625778 to your computer and use it in GitHub Desktop.
#!/bin/bash
while :
do
clear
git --no-pager log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%ci) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --all -${1-20}
sleep ${2-10}
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment