One of the most used git command is
git log which shows commit logs.
$ git log
I found custom
git lg looks more self-sufficient and descriptive. If you want to have this command follow next instruction.
Following image shows what's the difference between custom
git lg and
git log --oneline.
C:\Users\YOURUSERNAME and add code in .gitconfig file:
[alias] lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --branches
From now on you can call
git lg and have new view in terminal. Enjoy!