My List of Interesting and Important Git Configurations
Since I use git daily on my job and also on personal projects and experiments, I’m compiling here some nice configuration options and tricks that will help not just me but also anyone who stumble upon this article.
It’s important to note this is an ongoing article I’ll be updating as I learn more about git and other options that are relevant to me.
Always show signature when you do a git log
Whever I started signing all my commits, one habbit I developed over time was to always use the option –show-signature and –graph when doing a git log. So at some point I looked up if there’s a way to make git always show the signature options without the need to remember this extra option (even though fish will usually remind me).
It turns out you can. Just set the option with:
git config --global log.showSignature true