Created
August 27, 2015 17:28
-
-
Save rafakato/d0ea8c6d23f105398fbe to your computer and use it in GitHub Desktop.
Revisions
-
rafakato created this gist
Aug 27, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ #!/bin/bash tput civis # hide cursor #trap "echo test" EXIT # this is not needed actually watch -n 15 -c -d -t "git --no-pager log \ --graph \ --all \ --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' \ --abbrev-commit \ --date=relative" tput cnorm # restore cursor