-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
66 lines (53 loc) · 1.35 KB
/
gitconfig
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[advice]
# slightly less verbose `git status` output
statusHints = false
# git add without parameters gives a long help message, suppress
addEmptyPathspec = false
[core]
# windows only; treat paths starting with dot as hidden, default: .git only
hideDotFiles = true
[user]
name = Walther
email = email+git@waltteri.net
[alias]
# history visualization, line per commit
lg = log --graph --pretty=format:'%C(yellow)%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(cyan)<%an>%Creset' --abbrev-commit
please = push --force-with-lease
[color]
ui = true
[feature]
# improved performance when lots of files exist
# temporarily disabled, see https://github.com/libgit2/libgit2/issues/6531
# manyFiles = true
[fetch]
recurseSubmodules = true
# "A value of 0 will give some reasonable default"
parallel = 0
prune = true
pruneTags = true
[checkout]
defaultRemote = origin
# parallelize more
workers = -1
[diff]
algorithm = histogram
# detect copied files as part of rename detection
renames = copies
[init]
defaultBranch = main
[merge]
conflictStyle = diff3
[push]
default = current
autoSetupRemote = true
# https://github.com/dandavison/delta - cargo install git-delta
[pager]
blame = delta
diff = delta
log = delta
reflog = delta
show = delta
[delta]
syntax-theme = Monokai Extended
[pull]
ff = only