# find commits that changed a file: git his <filepath>
his = log --follow --color=always --date=format:'%d %b, %Y' --pretty=format:'(%Cgreen%h%Creset)[%ad] %C(blue bold)%s%Creset'
# search code in commit history: git wot :function_name:filepath
wot = log --date=format:'%d %b, %Y' --pretty='%n%C(yellow bold)π
οΈ %ad%Creset by (%C(green bold)%an%Creset) %C(cyan bold)%h%Creset' --graph -L
# top 10 most edited files
top10 = ! git log --pretty=format: --name-only | sort | uniq -c | sort -rg | head -10