-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_gitconfig.tmpl
More file actions
46 lines (46 loc) · 946 Bytes
/
Copy pathdot_gitconfig.tmpl
File metadata and controls
46 lines (46 loc) · 946 Bytes
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
[init]
defaultBranch = main
[user]
name = {{ .name }}
email = {{ .email | default "fred@fredamaral.com.br" }}
{{- if .gpg_signing_key }}
signingkey = {{ .gpg_signing_key }}
{{- end }}
[commit]
{{- if .gpg_signing_key }}
gpgsign = true
{{- else }}
gpgsign = false
{{- end }}
[tag]
{{- if .gpg_signing_key }}
gpgSign = true
{{- else }}
gpgSign = false
{{- end }}
[core]
editor = {{ if eq .chezmoi.os "darwin" }}nvim{{ else }}micro{{ end }}
pager = less
[pull]
rebase = true
[push]
autoSetupRemote = true
{{- if eq .chezmoi.os "linux" }}
[credential "https://github.com"]
helper =
helper = !gh auth git-credential
[credential "https://gist.github.com"]
helper =
helper = !gh auth git-credential
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
{{- end }}
[alias]
st = status
co = checkout
br = branch
ci = commit
lg = log --oneline --graph --decorate