-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathgitconfig
89 lines (67 loc) · 1.31 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[user]
email = [email protected]
name = Maxence Poutord
signingkey = 4DF87D6E6EA27929
# replace workcompany to current company name
# [includeIf "gitdir/i:**/workcompany/**"]
# email = [email protected]
[credential]
helper = cache --timeout=1200
[color]
ui = auto
branch = auto
diff = auto
status = auto
[delta]
line-numbers = true
navigate = true # use n and N to move between diff sections
[color "status"]
added = green
changed = yellow
untracked = red
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red
new = green
[core]
ui = true
editor = vim
autocrlf = false
whitespace = trailing-space,space-before-tab
excludesfile = ~/.gitignore_global
pager = delta --features "$(defaults read -globalDomain AppleInterfaceStyle &> /dev/null && echo default || echo GitHub)"
[github]
user = maxpou
[commit]
gpgsign = true
verbose = true
[push]
default = simple
autoSetupRemote = true
[remote]
pushdefault = origin
[gpg]
program = gpg
[pull]
rebase = false
[init]
defaultBranch = main
[help]
autocorrect = 10
[branch]
sort = -committerdate
# [log]
# abbrevCommit = true
[tag]
sort = -version:refname
[rebase]
autoStash = true
[fetch]
prune = true
[rerere]
enabled = false