Updated: 27 March 2023
git log --pretty=format:"%C(yellow)%h%Creset %Cblue%an%C(auto)%d%Creset %s %<(3,trunc)%C(cyan)%b" --graph --boundary commit-a..commit-b
%anauthor name.%bmessage body.%<(3,trunc)truncate next placeholder, in this case message body.