Jul 23, 2020

(blog / tech)

I like to be able to see ‘Signed-off-by’ trailers as well as gpg signatures in my git log output. I spent a little bit of time and came up with the below alias.

Add it to your ~/.gitconfig and you’ll have the formatted output above for any git lg that you run in a git repo’s directory. The output is:

tree git hash when committed committer name Signed-off-by trailer ... gpg trusted/untrusted/not signed/etc gpg signature key commit message refspec(tags/branches/etc)