Configuration written to $XDG_CONFIG_HOME/git/config. This may be either a single attrset of Git settings or an ordered list of attrset fragments when repeated sections or explicit ordering matter.
See git-config(1) for details.
Declarations
Type
(attribute set of attribute set of (string or boolean or signed integer or list of (string or boolean or signed integer) or attribute set of (string or boolean or signed integer or list of (string or boolean or signed integer)))) or list of attribute set of attribute set of (string or boolean or signed integer or list of (string or boolean or signed integer) or attribute set of (string or boolean or signed integer or list of (string or boolean or signed integer)))Default
{ }Example
[
{
core = {
whitespace = "trailing-space,space-before-tab";
};
url = {
"ssh://git@host" = {
insteadOf = "otherhost";
};
};
}
{
credential = {
"https://example.com" = {
helper = "";
};
};
}
{
credential = {
"https://example.com" = {
helper = "oauth";
};
};
}
]