Skip to content

Commit 5501f8d

Browse files
committed
1 parent 1b65464 commit 5501f8d

1 file changed

Lines changed: 26 additions & 3 deletions

File tree

home/private_dot_config/git/config.tmpl

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,32 @@
88

99
[commit]
1010
gpgsign = true
11+
verbose = true
12+
13+
[column]
14+
ui = auto
15+
16+
[branch]
17+
sort = -committerdate
18+
19+
[tag]
20+
sort = version:refname
1121

1222
[pull]
1323
ff = true
1424
rebase = true
1525

1626
[push]
17-
default = current
27+
default = simple
28+
autoSetupRemote = true
29+
followTags = true
30+
31+
[help]
32+
autocorrect = prompt
33+
34+
[rerere]
35+
enabled = true
36+
autoupdate = true
1837

1938
[credential]
2039
helper =
@@ -42,8 +61,9 @@
4261
# Git diff will use (i)ndex, (w)ork tree, (c)ommit and (o)bject
4362
# instead of a/b/c/d as prefixes for patches
4463
mnemonicprefix = true
45-
algorithm = patience
46-
colorMoved = default
64+
algorithm = histogram
65+
colorMoved = dimmed-zebra
66+
renames = true
4767
{{- if lookPath "code" }}
4868
guitool = vscode
4969
tool = vscode
@@ -65,6 +85,7 @@
6585
autoSquash = true
6686
autoStash = true
6787
stat = true
88+
updateRefs = true
6889
6990
{{ if lookPath "git-lfs" -}}
7091
[filter "lfs"]
@@ -80,6 +101,8 @@
80101
81102
[fetch]
82103
prune = true
104+
pruneTags = true
105+
all = true
83106
84107
{{ if .work -}}
85108
[credential "azrepos:org/classifyprocess"]

0 commit comments

Comments
 (0)