-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
72 lines (61 loc) · 1.72 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
67
68
69
70
71
72
[core]
excludesfile = ~/.gitignore
excludesfiles = .gitignore
; pager = less -r
pager = delta
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[user]
name = Ranel Padon
email = [email protected]
#
# https://github.com/Homebrew/brew/issues/52
[url "[email protected]:"]
insteadOf = https://github.com/
[color]
status = always
diff = always
interactive = always
branch = always
grep = always
[pull]
rebase = false
[diff]
tool = nvimdiff
[difftool "nvimdiff"]
cmd = "nvim -d \"$LOCAL\" \"$REMOTE\""
[difftool]
prompt = false
[pager]
; diff = delta -w ${FZF_PREVIEW_COLUMNS:-$COLUMNS}
diff = delta
log = delta
reflog = delta
show = delta
[delta]
plus-style = green
minus-style = red
plus-emph-style = bold black green
minus-emph-style = bold black red
line-numbers = true
line-numbers-plus-style = green
line-numbers-minus-style = red
plus-empty-line-marker-style = green
minus-empty-line-marker-style = red
hunk-header-style = omit
navigate = true
; lazygit doesnt support 24-bit colors:
; https://github.com/jesseduffield/lazygit/issues/907#issuecomment-711918476
zero-style = 244
line-numbers-zero-style = 244
; zero-style = "#4e545e"
; line-numbers-zero-style = "#3e4452"
[interactive]
diffFilter = delta --color-only
[alias]
blog = log --color --graph --pretty=format:'%C(green)%h%Creset: %C(yellow)%ar %C(blue)%s %C(red)(%an)' --abbrev-commit
; blog = log --color --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit