mirror of
https://github.com/nix-community/home-manager.git
synced 2026-10-31 09:10:11 +00:00
This allows the git config to be used by programs that have git installed natively and where other programs access git but don't have the nix path available, so cannot access git-lfs.
53 lines
873 B
Plaintext
53 lines
873 B
Plaintext
[alias]
|
|
a1 = "foo"
|
|
a2 = "baz"
|
|
escapes = "\"\\n\t"
|
|
|
|
[commit]
|
|
gpgSign = true
|
|
|
|
[extra]
|
|
boolean = true
|
|
integer = 38
|
|
multiple = 1
|
|
multiple = 2
|
|
name = "value"
|
|
|
|
[extra "backcompat.with.dots"]
|
|
previously = "worked"
|
|
|
|
[extra "subsection"]
|
|
value = "test"
|
|
|
|
[filter "lfs"]
|
|
clean = "@git-lfs@/bin/git-lfs clean -- %f"
|
|
process = "@git-lfs@/bin/git-lfs filter-process"
|
|
required = true
|
|
smudge = "@git-lfs@/bin/git-lfs smudge -- %f"
|
|
|
|
[gpg]
|
|
format = "openpgp"
|
|
|
|
[gpg "openpgp"]
|
|
program = "path-to-gpg"
|
|
|
|
[tag]
|
|
gpgSign = true
|
|
|
|
[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"
|
|
|
|
[includeIf "gitdir:~/src/dir"]
|
|
path = "@git_include_path@"
|
|
|
|
[includeIf "gitdir:~/src/otherproject"]
|
|
path = "@git_named_include_path@"
|