-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_gitconfig.tmpl
50 lines (49 loc) · 1.04 KB
/
dot_gitconfig.tmpl
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
# user
[include]
path = ~/.gitconfig.user
[color]
ui = true
[status]
showUntrackedFiles = no
[alias]
st = status -s
ci = commit
co = checkout
br = branch
lo = log --pretty=oneline
lp = log --pretty=oneline -p --ext-diff
di = diff
dii = diff --no-ext-diff
ds = diff --stat
sh = show --ext-diff
[diff]
submodule = log
tool = vimdiff
external = difft
[push]
default = current
[difftool]
prompt = true
external = difft
[commit]
gpgsign = true
[github]
oauth-token = {{ onepasswordRead "op://Private/gh-oauth-token/password" | trim | quote }}
user = {{ onepasswordRead "op://Private/gh-oauth-token/username" | trim | quote }}
[magithub]
online = false
[magithub "status"]
includeStatusHeader = false
includePullRequestsSection = false
includeIssuesSection = false
[core]
excludesfile = {{ .chezmoi.homeDir }}/.gitignore_global
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
{{- if (eq .chezmoi.os "darwin" ) }}
[gpg]
program = /usr/local/bin/gpg
{{- end }}