Mercurial > dotfiles
annotate dot_gitconfig.tmpl @ 881:0db6e0af480e
close pre-commit branch
author | Zeger Van de Vannet <zeger@vandevan.net> |
---|---|
date | Fri, 26 Apr 2024 07:57:12 +0200 |
parents | 83bf3561016d |
children |
rev | line source |
---|---|
257 | 1 [user] |
2 email = {{ .email }} | |
3 name = {{ .name }} | |
4 signingkey = {{ .signingkey }} | |
5 [rebase] | |
6 autosquash = true | |
7 autostash = true | |
8 [commit] | |
365
d8216ea00ad1
Do not set gpgsign when no key is configured
zegervdv <zegervdv@me.com>
parents:
279
diff
changeset
|
9 {{- if ne .signingkey "" }} |
257 | 10 gpgsign = true |
365
d8216ea00ad1
Do not set gpgsign when no key is configured
zegervdv <zegervdv@me.com>
parents:
279
diff
changeset
|
11 {{- end }} |
257 | 12 verbose = true |
13 [pull] | |
14 rebase = true | |
15 [gpg] | |
16 program = gpg | |
17 [merge] | |
625 | 18 tool = settle |
19 [mergetool "settle"] | |
20 cmd = "nvim -f $BASE $LOCAL $REMOTE $MERGED -c 'SettleInit'" | |
257 | 21 trustExitCode = true |
22 [alias] | |
23 ls = log --format=\"%C(auto)%h %<(15)%C(auto, green)%cr %>(20)%C(auto, magenta)%an %C(auto)%s %D\" | |
279 | 24 tags = tag -l --sort creatordate --column |
257 | 25 [core] |
26 excludesfile = ~/.gitignore | |
811
83bf3561016d
feat: switch to hx for git editor
zegervdv <zegervdv@me.com>
parents:
636
diff
changeset
|
27 editor = hx |
257 | 28 autocrlf = input |
29 pager = less -+F | |
30 [help] | |
31 autocorrect = 1 | |
32 [color] | |
33 diff = always | |
34 status = always | |
35 branch = always | |
36 ui = true | |
37 {{- if eq .chezmoi.username "zvandeva" }} | |
38 [url "https://"] | |
39 insteadOf = git:// | |
40 {{- end }} | |
387 | 41 [rerere] |
42 enabled = 1 | |
437
41a48a26b0aa
Add local config path for gitconfig
Zeger Van de Vannet <zegervdv@me.com>
parents:
387
diff
changeset
|
43 [filter "lfs"] |
41a48a26b0aa
Add local config path for gitconfig
Zeger Van de Vannet <zegervdv@me.com>
parents:
387
diff
changeset
|
44 clean = git-lfs clean -- %f |
41a48a26b0aa
Add local config path for gitconfig
Zeger Van de Vannet <zegervdv@me.com>
parents:
387
diff
changeset
|
45 smudge = git-lfs smudge -- %f |
41a48a26b0aa
Add local config path for gitconfig
Zeger Van de Vannet <zegervdv@me.com>
parents:
387
diff
changeset
|
46 process = git-lfs filter-process |
41a48a26b0aa
Add local config path for gitconfig
Zeger Van de Vannet <zegervdv@me.com>
parents:
387
diff
changeset
|
47 required = true |
41a48a26b0aa
Add local config path for gitconfig
Zeger Van de Vannet <zegervdv@me.com>
parents:
387
diff
changeset
|
48 [include] |
41a48a26b0aa
Add local config path for gitconfig
Zeger Van de Vannet <zegervdv@me.com>
parents:
387
diff
changeset
|
49 path = ~/.gitconfig.local |
636 | 50 [diff "gpg"] |
51 textconv = gpg --no-tty --decrypt |