On one of my machines I made a typo when configuring git, which resulted in this entry in the .gitconfig file:
[credentials]
helper = cache
Can you spot the error? I spelled credentials instead of credential. Of course, git accepted this without any error/warning/biting remark.
Is there a way to ask git to validate the config file and flag any entry that:
- is ignored (e.g.
alias pull = pull --no-ff) - does not match any available configuration variable (like the above
credentialsvs.credentialmismatch)