-
Notifications
You must be signed in to change notification settings - Fork 3
/
.gitconfig
61 lines (60 loc) · 1.36 KB
/
.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[user]
name = Leonardo Pistone
useconfigonly = true
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPmIUd8FCwVygeE7WyYJt5CVDJXq//TyXjOCUGqUvv1c
[alias]
l = log --pretty=onelep --graph
la = log --pretty=onelep --graph --all
aa = add --all
ap = add -p
fa = fetch --all --prune
b = branch
d = diff
dc = diff --cached
ci = commit --verbose
co = checkout
st = status -sb
[merge]
tool = vimdiff
conflictstyle = diff3
[pretty]
# this looks similar to gary bernhardt's magic, without external
# magic.
# I add a tab at the beginning to prevent the graph to break column
# alignment. That could be considered a bug in git.
onelep = %x09%h %G? %Cgreen%<(20,trunc)%ar %Cblue%<(20,trunc)%an %Cred%d%Creset %s
[tag]
gpgsign = true
[hub]
host = ghe.spotify.net
[feature]
manyFiles = true
experimental = true
[pull]
ff = only
[diff]
colorMoved = dimmed-zebra
[init]
defaultBranch = main
[core]
pager = delta
[interactive]
diffFilter = delta --color-only --features=interactive
[delta]
navigate = true
[lfs]
locksverify = false
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
[push]
autoSetupRemote = true
[gpg]
format = ssh
[gpg "ssh"]
program = /Applications/1Password.app/Contents/MacOS/op-ssh-sign
allowedSignersFile = /Users/lepistone/.ssh/allowed_signers
[commit]
gpgsign = true