-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
96 lines (74 loc) · 2 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[user]
name = Rushi Vishavadia
email = [email protected]
[includeIf "gitdir:~/Sites/work/xola/**"]
path = ~/Sites/work/xola/.gitconfig
[includeIf "gitdir:~/Sites/personal/**"]
path = ~/Sites/personal/.gitconfig
[core]
autocrlf = input
whitespace = fix,trailing-space
excludesfile = /Users/rushi/.gitignore_global
pager = /opt/homebrew/bin/delta # https://dandavison.github.io/delta/configuration.html
# pager = bat -p
# https://dandavison.github.io/delta/configuration.html
[delta]
navigate = true # use n and N to move between diff sections
features = decorations
line-numbers = true
# syntax-theme = Dracula
# side-by-side = true
[delta "line-numbers"]
line-numbers-left-style = cyan
line-numbers-right-style = cyan
line-numbers-minus-style = 124
line-numbers-plus-style = 28
[delta "interactive"]
keep-plus-minus-markers = false
[delta "decorations"]
commit-decoration-style = blue ol
commit-style = raw
# file-style = omit
hunk-header-decoration-style = blue box # The box around the filename + hunk
hunk-header-file-style = green # Name of the affected file
hunk-header-line-number-style = "#CC6600" # The line number of the hunk
# hunk-header-style = file line-number syntax
hunk-header-style = file line-number syntax
[merge]
conflictstyle = diff3
[diff]
colorMoved = default
[merge]
log = true
[apply]
whitespace = fix
[branch "master"]
remote = origin
merge = refs/heads/master
[filter "media"]
required = true
clean = git media clean %f
smudge = git media smudge %f
[help]
autocorrect = 1
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
required = true
process = git-lfs filter-process
[alias]
open = browse
[init]
defaultBranch = main
[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
[pull]
rebase = false
[push]
autoSetupRemote = true
[commit]
template = /Users/rushi/.stCommitMsg