/
gitconfig
65 lines (50 loc) · 1.32 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
[core]
autocrlf = input
editor = "vim"
pager = "delta"
[user]
name = Jakub Fijałkowski
email = kuba@codinginfinity.me
[alias]
undo = "!f() { \\\n git reset --hard $(git rev-parse --abbrev-ref HEAD)@{${1-1}}; \\\n}; f"
update = "!f() { \\\n git fetch origin ${1}:${1}; \\\n}; f"
switchto = "!f() { \\\n git fetch origin ${1}:${1}; git checkout ${1}; \\\n}; f"
[color]
diff = true
branch = true
status = true
[push]
default = matching
gpgSign = if-asked
[pull]
rebase = true
[commit]
gpgsign = true
[credential]
helper = /usr/lib/git-core/git-credential-libsecret
[diff]
colorMoved = true
[interactive]
diffFilter = delta --color-only
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[delta]
syntax-theme = gruvbox
features = side-by-side line-numbers decorations
whitespace-error-style = 22 reverse
[delta "decorations"]
commit-decoration-style = bold yellow box ul
file-style = bold yellow ul
file-decoration-style = none
hunk-header-decoration-style = cyan box ul
[delta "line-numbers"]
line-numbers-left-style = cyan
line-numbers-right-style = cyan
line-numbers-minus-style = 124
line-numbers-plus-style = 28
[include]
path = "~/.dotfiles-private/gitconfig"
# vim:set et sw=2 ts=2 tw=100: