mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 19:49:45 +01:00
445c0b1482
This makes sure that values added to programs.git.aliases or programs.git.extraConfig are merged as expected. Also add a few option examples.
25 lines
309 B
Text
25 lines
309 B
Text
[alias]
|
|
a1=foo
|
|
a2=baz
|
|
|
|
[commit]
|
|
gpgSign=true
|
|
|
|
[extra]
|
|
boolean=true
|
|
integer=38
|
|
name=value
|
|
|
|
[gpg]
|
|
program=path-to-gpg
|
|
|
|
[user]
|
|
email=user@example.org
|
|
name=John Doe
|
|
signingKey=00112233445566778899AABBCCDDEEFF
|
|
|
|
[include]
|
|
path = ~/path/to/config.inc
|
|
|
|
[includeIf "gitdir:~/src/dir"]
|
|
path = ~/path/to/conditional.inc
|