DEV Community

Discussion on: I love git log

Collapse
 
dmfay profile image
Dian Fay

I forget where I found this:

alias gtree='git log --graph --abbrev-commit --decorate --date=relative --format=format:'\''%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)'\'' --all'

Then gtree in your repo.

Collapse
 
aurelkurtula profile image
aurel kurtula

This is great, thanks for sharing.

Collapse
 
latentfuss profile image
John Thompson

OoOoOo me Gusta!

Collapse
 
sunbingfeng profile image
sunbingfeng

Yeah, you could add git alias to long command.

Collapse
 
vguarnaccia profile image
Vincent Guarnaccia

I'm totally going to borrow this. I add a '%G?' to my format so it's easy to see which commits are signed or not.