-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot.gitconfig
70 lines (55 loc) · 1.74 KB
/
dot.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
67
68
69
70
# ================================================================ info ===== #
# ~/.gitconfig
#
# git config is recommended to be set via cmdline
#
# examples:
#
# set global name
# git config --global user.name "Jimmy Lim"
#
# set global email
# git config --global user.email "[email protected]"
# ============================================================== config ===== #
[blame]
pager = delta # use delta for pretty terminal diff
[core]
pager = delta # use delta for pretty terminal diff
[credential]
helper = cache --timeout 7200
[gpg]
program = gpg
[interactive]
diffFilter = delta --color-only # use delta for interactive diff
[merge]
conflictstyle = diff3 # delta merge conflict
[user]
name = jimmy lim
email = [email protected]
# ---------------------------------------------------------- custom dir ----- #
# [includeIf "gitdir:~/apache/"]
# path = ~/.gitconfig-apache
# [includeIf "gitdir:~/work/"]
# path = ~/work/.gitconfig-work
# name = change me
# email = [email protected]
# ---------------------------------------------------------- delta diff ----- #
# https://github.com/dandavison/delta
[delta]
navigate = true # use n and N to move between diff sections
side-by-side = true
line-numbers = true
features = line-numbers decorations
syntax-theme = Dracula
plus-style = syntax "#003800"
minus-style = syntax "#3f0001"
[delta "decorations"]
commit-decoration-style = yellow box ul
file-style = bold yellow
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