Git log aliases

Here are some usefull git aliases which i use on a daily basis:
Output samples are generated using clojure repository

List of one line commits

ls = log --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %C(bold blue)<%an>%Creset'

ls

List of commits with changed files

ll = log --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %C(bold blue)<%an>%Creset' --decorate --numstat

ll

List of commits without colors

lnc = log --pretty=format:"%h\\ %s\\ [%cn]"

lnc

Commits with dates

ldt = log --all --pretty=format:'%Cred%h%Creset %Cgreen%ad%Creset -%C(yellow)%d%Creset %s %C(bold blue)<%an>%Creset'

ldt

Commits with short dates

lds = "!git ldt --date=short"

lds

Commits with relative dates

ldr = "!git ldt --date=relative"

ldr

commits with date and times

ldi = "!git ldt --date=iso"

ldi

Commit tree

lgraph = log --all --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%ci)%Creset %C(bold blue)<%an>%Creset'

lgraph

Default look for short git log

ldef = log --oneline --decorate

ldef

Commits related to a file

filelog = log -u
fl = log -u

filelog

Last commit

lc = "!git ll -1"

lc