-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.gitconfig
140 lines (137 loc) · 3.16 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
# vim: set ts=4 sw=4 tw=4 noet
[user]
name = Emily Strickland
email = [email protected]
signingkey = E24D796803FC1BB5
[core]
preloadindex = true
excludesfile = ~/.gitignore.global
trustctime = false
pager = delta
commitGraph = true
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true # use n and N to move between diff sections
line-numbers = true
features = decorations
syntax-theme = Nord
[delta "interactive"]
keep-plus-minus-markers = false
[delta "decorations"]
; commit-decoration-style = blue ol
; commit-style = raw
; file-decoration-style = ol ul
file-style = omit
hunk-header-decoration-style = ul
hunk-header-file-style = blue italic
hunk-header-line-number-style = green bold italic
hunk-header-style = file line-number syntax ul
[merge]
conflictstyle = diff3
[diff]
indentHeuristic = true
algorithm = histogram
tool = vimdiff
colorMoved = default
[log]
date = local
[rerere]
enabled = true
[pager]
color = true
[status]
color = true
submodulesummary = true
[alias]
st = status
ci = commit -av
c = commit -av
co = checkout
lg = log --pretty=format:'%C(yellow)%h%C(reset) %s %C(cyan)%cI%C(reset) %C(blue)%an%C(reset) %C(green)%d%C(reset)' --graph
review = log --summary --patch --stat=100 --dirstat --ignore-all-space --reverse --decorate --find-renames=33 --find-copies-harder --cc
ignored = ls-files --others -i --exclude-standard
st = status -sb
standup = !git log --since yesterday --author `git config user.email` --pretty=short
up = pull --ff-only --all -p
praise = blame
who = blame
whose-line-is-it-anyway = blame
supdate = submodule update --init --rebase
supgrade = submodule update --init --remote --rebase
push = push --atomic
[push]
default = current
recurseSubmodules = on-demand
followTags = true
[status]
submodulesummary = true
showUntrackedFiles = all
[commit]
# template = ~/.gitcommittemplate
gpgsign = true
[http]
sslVerify = true
[branch]
autosetuprebase = always
[help]
autocorrect = 1
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
[receive]
fsckObjects = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[tig]
show-changes = true
tab-size = 8
mouse = true
[init]
templatedir = ~/.git-templates
defaultBranch = main
[rebase]
autoStash = true
autosquash = true
[pull]
rebase = true
recurseSubmodules = on-demand
[fetch]
prune = true
pruneTags = true
output = full
[mergetool]
prompt = false
[color]
ui = auto
[color "diff"]
meta = yellow bold
commit = green bold
frag = magenta bold
old = red bold
new = green bold
whitespace = red reverse
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "status"]
added = yellow
changed = green
untracked = cyan
# allow uncommitted configuration to override above (needs to be
# second-to-last)
[include]
path = .gitconfig.local
# allow home-repository-specific configuration to override above (needs
# to be last) (requires >= v2.13)
[includeIf "gitdir:~/.home.git"]
path = .gitconfig.home