-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.gitconfig
105 lines (84 loc) · 1.75 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[core]
fsmonitor = true # only on mac and windows
untrackedCache = true
[feature]
experimental = true
[user]
email = dark@dark.red
name = darkwater
[commit]
gpgsign = no
verbose = true
[init]
defaultBranch = master
[alias]
a = "add --all"
aa = "add --all"
ap = "add --all --patch"
ca = "commit --all"
c = "commit"
ci = "commit"
amend = "commit --amend"
co = "checkout"
d = "diff"
di = "diff"
dc = "diff --cached"
f = "fetch"
s = "status"
st = "status"
l = "log --graph --abbrev=8 --date=relative"
la = "log --all --graph --abbrev=8"
pf = "push --force"
pou = "push --set-upstream origin"
[log]
date = "format:%d %b"
[branch]
sort = -committerdate
[tag]
sort = version:refname
[format]
pretty = format:%C(auto,yellow)%h %C(auto,blue)%>(6,trunc)%ad %C(auto,green)%<(7,trunc)%aN %C(auto,reset)%s%C(auto,red)% gD% D
[pager]
blame = delta
diff = delta
log = delta
reflog = delta
show = delta
[delta]
plus-style = "syntax #012800"
minus-style = "syntax #340001"
syntax-theme = Monokai Extended
navigate = true
hyperlinks = true
[interactive]
diffFilter = delta --color-only
[merge]
conflictstyle = zdiff3
[rebase]
autoSquash = true
autoStash = false
updateRefs = true
[diff]
tool = nvim
colorMoved = default
algorithm = histogram
mnemonicPrefix = true
renames = true
[difftool]
prompt = false
[difftool.nvim]
cmd = nvim -d $LOCAL $REMOTE
[rerere]
enabled = true
autoupdate = true
[push]
default = simple
autoSetupRemote = true
followTags = true
tags = true
[pull]
rebase = true
[fetch]
prune = true
pruneTags = true
all = true