I have the following .gitconfig:
[user]
name = name
email = email@email.com
custom_field = AAA
Getting name and email is easy using git config
.
How can I get the value of custom_field :
$ git config --global user.custom_field
error: invalid key: user.custom_field