-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.gitconfig
More file actions
114 lines (92 loc) · 2.07 KB
/
.gitconfig
File metadata and controls
114 lines (92 loc) · 2.07 KB
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
106
107
108
109
110
111
112
113
114
[core]
fsmonitor = true # only on mac and windows
untrackedCache = true
hooksPath = /home/dark/dotfiles/git-hooks
[feature]
experimental = true
[user]
email = dark@dark.red
name = darkwater
signingkey = ~/.ssh/id_ed25519
[gpg]
format = ssh
[commit]
gpgsign = true
verbose = true
[init]
defaultBranch = master
defaultRefFormat = files
[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"
sw = "switch"
l = "log --graph --abbrev=8 --date=relative"
la = "log --branches --tags --exclude=origin/release-pr --exclude=origin/gh-pages --exclude=origin/release-plz* --remotes --tags --graph --abbrev=8"
pf = "push --force-with-lease"
pou = "push --set-upstream origin"
[log]
date = "format:%d %b %y %Hh"
[branch]
sort = -committerdate
[tag]
sort = version:refname
[format]
pretty = format:%C(auto,yellow)%h %C(auto,blue)%>(13,trunc)%ad %C(auto,green)%<(7,trunc)%aN %C(auto,reset)%s%C(auto,red)% gD% D % N
[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
singleKey = true
[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
tags = true
all = true