-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.gitconfig
More file actions
149 lines (127 loc) · 4.28 KB
/
Copy path.gitconfig
File metadata and controls
149 lines (127 loc) · 4.28 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
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
141
142
143
144
145
146
147
148
149
[include]
path = ~/.gitconfig.private
[includeIf "gitdir:~/Code/va.ghe.com/**"]
path = ~/.gitconfig.va-ghe
[includeIf "gitdir:~/Code/github.ec.va.gov/**"]
path = ~/.gitconfig.va-ghe
[core]
excludesfile = ~/.gitignore
pager = delta
[push]
default = current
[alias]
ll = log --format=fuller --graph --decorate
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
wdiff = diff --color-words
[hub]
protocol = https
[url "https://github.com"]
insteadOf = git://github.com
[pull]
ff = only
[fetch]
prune = true
[gpg]
format = ssh
[gpg "ssh"]
allowedSignersFile = ~/.ssh/allowed_signers
[commit]
gpgsign = true
verbose = true
[tag]
gpgsign = true
[credential]
helper = cache --timeout=600
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[init]
defaultBranch = main
[blame]
coloring = highlightRecent
[interactive]
diffFilter = delta --color-only --features=interactive
[delta]
features = mellow-barbet
navigate = true
show-diff-stats = true
[delta "interactive"]
keep-plus-minus-markers = false
[delta "decorations"]
commit-decoration-style = blue ol
commit-style = raw
file-style = omit
hunk-header-decoration-style = "#3e3e43" box ul
hunk-header-file-style = red
hunk-header-line-number-style = "green"
hunk-header-style = file line-number syntax
[delta "mellow-barbet"]
# author: https://github.com/kvrohit
# To configure terminal colors see https://github.com/kvrohit/mellow.nvim#terminals
dark = true
syntax-theme = base16
line-numbers = true
side-by-side = true
file-style = brightwhite
file-decoration-style = none
file-added-label = [+]
file-copied-label = [==]
file-modified-label = [*]
file-removed-label = [-]
file-renamed-label = [->]
hunk-header-decoration-style = "#3e3e43" box ul
plus-style = brightgreen black
plus-emph-style = black green
minus-style = brightred black
minus-emph-style = black red
line-numbers-minus-style = brightred
line-numbers-plus-style = brightgreen
line-numbers-left-style = "#3e3e43"
line-numbers-right-style = "#3e3e43"
line-numbers-zero-style = "#57575f"
zero-style = syntax
whitespace-error-style = black bold
blame-code-style = syntax
blame-palette = "#161617" "#1b1b1d" "#2a2a2d" "#3e3e43"
merge-conflict-begin-symbol = ~
merge-conflict-end-symbol = ~
merge-conflict-ours-diff-header-style = yellow bold
merge-conflict-ours-diff-header-decoration-style = "#3e3e43" box
merge-conflict-theirs-diff-header-style = yellow bold
merge-conflict-theirs-diff-header-decoration-style = "#3e3e43" box
[credential "https://github.com"]
helper =
helper = !/opt/homebrew/bin/gh auth git-credential
[credential "https://gist.github.com"]
helper =
helper = !/opt/homebrew/bin/gh auth git-credential
[http]
postBuffer = 524288000
[hook "gitleaks"]
event = pre-commit
command = gitleaks git --staged --redact --no-banner -c ~/.config/gitleaks/config.toml
[hook "pi-extensions"]
# Global, so the script itself decides whether a repo is in scope: it exits 0
# unless the repo has a bin/pi-ext-check. The test guard keeps every other
# repo's push from failing on a missing command. git appends the hook args to
# the command string, so it has to end in something that accepts them.
event = pre-push
command = "sh -c 'test -x ./bin/pi-ext-prepush || exit 0; exec ./bin/pi-ext-prepush \"$@\"' pi-ext-prepush"
[hook "pi-extensions-typecheck"]
# Catches the same failures as the pre-push hook, but while the offending
# change is still the staged one instead of eight commits deep. Global like
# the push hook, so the script exits 0 unless the repo has bin/pi-ext-check.
# git appends the hook args to the command string, so it has to end in
# something that accepts them.
event = pre-commit
command = "sh -c 'test -x ./bin/pi-ext-precommit || exit 0; exec ./bin/pi-ext-precommit \"$@\"' pi-ext-precommit"
[user]
signingkey = ~/.ssh/id_ed25519.pub
[credential "https://github.ec.va.gov"]
helper =
helper = !/opt/homebrew/bin/gh auth git-credential
[credential "https://va.ghe.com"]
helper =
helper = !/opt/homebrew/bin/gh auth git-credential