-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_gitconfig.tmpl
33 lines (33 loc) · 1 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
[user]
name = {{ .name }}
email = {{ .email }}
{{ if ne .signingkey "" }}
signingkey = {{ .signingkey }}
[commit]
gpgsign = true
{{ end }}
[pull]
rebase = false
[init]
defaultBranch = main
[push]
autoSetupRemote = true
[alias]
amend = commit --amend --no-edit --date "now"
ac = commit -am
ls = log --graph --pretty=fuller --all --show-signature
l = log --graph --pretty=format:\"%C(auto)%h%<(3)%d %s %C(bold blue)(%cr, %an)%Creset\" --abbrev-commit --all
ll = log --graph --pretty=format:\"%C(auto)%h%<(3)%d %s %C(bold blue)(%cr, %an)%Creset%n\" --abbrev-commit --all --find-copies -M --stat
[core]
pager = delta
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true # use n and N to move between diff sections
light = false # set to true if you're in a terminal w/ a light background color (e.g. the default macOS terminal)
side-by-side = true
line-numbers = true
[merge]
conflictstyle = diff3
[diff]
colorMoved = default