Commit 28a339eb32

28a339eb325d5b33e69452b60ae8d014f9ee67b2

parent: c8cd9bbfa2

Unsigned

cmc <hello@cleberg.net> · 2025-02-26 04:22 UTC

add .gitconfig

Layout: unified · split

.gitconfig added +50
@@ -0,0 +1,50 @@
1# clearly makes git better
2
3[column]
4 ui = auto
5[branch]
6 sort = -committerdate
7[tag]
8 sort = version:refname
9[init]
10 defaultBranch = main
11[diff]
12 algorithm = histogram
13 colorMoved = plain
14 mnemonicPrefix = true
15 renames = true
16[push]
17 default = simple
18 autoSetupRemote = true
19 followTags = true
20[fetch]
21 prune = true
22 pruneTags = true
23 all = true
24
25# why the hell not?
26
27[help]
28 autocorrect = prompt
29[commit]
30 verbose = true
31[rerere]
32 enabled = true
33 autoupdate = true
34[core]
35 excludesfile = ~/.gitignore
36[rebase]
37 autoSquash = true
38 autoStash = true
39 updateRefs = true
40
41# a matter of taste (uncomment if you dare)
42
43[core]
44 # fsmonitor = true
45 # untrackedCache = true
46[merge]
47 # (just 'diff3' if git version < 2.3)
48 # conflictstyle = zdiff3
49[pull]
50 # rebase = true