I know git-config
doesn't know all possible default values, but is there any way to see not only which config values apply to the current repo but also which config (local, global, system) is responsible?
The git config list command will show all Git config properties throughout all of the variously scoped Git files.
The git config command is a convenience function that is used to set Git configuration values on a global or local project level. These configuration levels correspond to . gitconfig text files. Executing git config will modify a configuration text file.
# There are 3 levels of git config; project, global and system.
Sure, just
git config --list --show-origin
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With