22d03f20fb
This should handle the special characters that typically occur.
Fixes #1206
(cherry picked from commit 642d9ffe24
)
44 lines
695 B
Plaintext
44 lines
695 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 clean -- %f"
|
|
process = "git-lfs filter-process"
|
|
required = true
|
|
smudge = "git-lfs smudge -- %f"
|
|
|
|
[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"
|
|
|
|
[includeIf "gitdir:~/src/dir"]
|
|
path = "@git_include_path@"
|