Skip to content

Instantly share code, notes, and snippets.

@ricardo-rossi
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ricardo-rossi/fd15902864d47696b9d5 to your computer and use it in GitHub Desktop.
Save ricardo-rossi/fd15902864d47696b9d5 to your computer and use it in GitHub Desktop.
Pretty git log script
#!/bin/sh
while true;
do
clear
git log \
--graph \
--all \
--color \
--date=short \
-40 \
--pretty=format:"%C(yellow)%h%x20%C(white)%cd%C(green)%d%C(reset)%x20%s%x20%C(bold)(%an)%Creset" |
cat -
sleep 15
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment