Skip to content

Instantly share code, notes, and snippets.

@jeremypage
Forked from tlberglund/git-loglive
Last active November 26, 2015 15:25
Show Gist options
  • Save jeremypage/94996f36caa0d0ed1e18 to your computer and use it in GitHub Desktop.
Save jeremypage/94996f36caa0d0ed1e18 to your computer and use it in GitHub Desktop.
Log Live Git Command
#!/bin/sh
while :
do
clear
git log --graph --all --color --date=short -20 --pretty=format:"%C(yellow)%h%x20%C(white)%cd%C(green)%d%C(reset)%x20%s%x20%C(bold)(%an)%Creset" |
cat -
sleep 10
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment