-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitconfig
38 lines (38 loc) · 1004 Bytes
/
.gitconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[user]
email = afonso@francof.net
name = afonso
signingkey = ~/.ssh/touch_key
[includeIf "hasconfig:remote.*.url:https://github.com/**"]
path = ~/.gitconfig-gh
[includeIf "hasconfig:remote.*.url:ssh://git@github.com/**"]
path = ~/.gitconfig-gh
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[core]
autocrlf = input
pager = delta
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true
[merge]
conflictstyle = diff3
[diff]
colorMoved = default
[commit]
gpgsign = true
[gpg]
format = ssh
[tag]
gpgsign = true
[pull]
rebase = false
[init]
defaultBranch = main
[alias]
count-lines = "! git log --author=\"$1\" --pretty=tformat: --numstat | awk '{ add += $1; subs += $2; loc += $1 - $2 } END { printf \"added lines: %s, removed lines: %s, total lines: %s\\n\", add, subs, loc }' #"
[gpg "ssh"]
allowedSignersFile = ~/.ssh/allowed_signers