-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
44 lines (37 loc) · 940 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
39
40
41
42
43
44
[user]
name = Til Blechschmidt
email = [email protected]
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII/RQS4p5LRMtn8JgU0mvbMNmFfQlXIC48Qv8L03sB4A
[pull]
rebase = true
[push]
autoSetupRemote = true
[credential]
helper = cache --timeout=86400
[core]
excludesfile = ~/.config/git/ignore
# Using `delta` as the diff viewer
[core]
pager = delta
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true
hyperlinks = true
[merge]
conflictstyle = diff3
[diff]
colorMoved = default
# SSH key based commit signing setup
[commit]
gpgsign = true
[gpg]
format = ssh
[gpg "ssh"]
program = /Applications/1Password.app/Contents/MacOS/op-ssh-sign
allowedSignersFile = ~/.config/git/allowed_signers
# Profile for work repositories
[includeIf "hasconfig:remote.*.url:[email protected]*/**"]
path = ~/.gitconfig-ppi
[includeIf "hasconfig:remote.*.url:https://gitlab.ppidev.net/**"]
path = ~/.gitconfig-ppi