~/ Persistent git log with git loglive
It looks like this:
This is incredibly useful for visualizing what's happening to your repository as you switch between and modify branches.
The code below has been reproduced from his original gist
git --no-pager log --graph --pretty=oneline --abbrev-commit --decorate --all $*
I had to create a new file with the above contents somewhere in my
PATH. I created a file called
If your commit history is longer than your terminal window is tall, you might need to specify that you only want the top 10 commits or so.
$ git loglive -10
~/ Posted by Jesse Shawl on 2014-05-24