My ~/.gitconfig
contains
[branch]
sort = -committerdate
yet this has no effect as I easily see when comparing to the output of
git branch --sort=-committerdate
Yet my question is not how to fix this. Rather I wonder if there is a way to debug this by showing the effective options of a git command including anything injected from configurations. Is there such a thing (a bit like set -x
in bash)?