-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
48 lines (43 loc) · 1.27 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
[user]
email = mdkcore@qtrnn.io
name = Rodrigo Oliveira
[commit]
gpgsign = true
[core]
; pager = less -XRMSI
pager = delta
excludesfile = ~/.gitignore.global
[color]
ui = auto
[log]
decorate = short
[alias]
root = !pwd
log-graph = log --graph --all --source --stat
show-graph = show --graph
please = "!f() { arg=$1; if [ x$arg == x ]; then arg=origin; fi; git config --list | grep remote.$arg.url | cut -d'=' -f2 | tail -n1; }; f"
please-all = "!f() { git config --list | grep remote\\.\\*\\.url --color=never | grep -v alias | cut -d'.' -f2- | sed 's/.url=/:\t/'; }; f"
[diff]
; tool = vimdiff
colorMoved = default
[merge]
; tool = vimdiff
; conflictstyle = diff3
conflictstyle = zdiff3
[mergetool]
prompt = false
[init]
defaultBranch = main
[interactive]
diffFilter = delta --color-only
[add.interactive]
useBuiltin = false # required for git 2.37.0
[delta]
navigate = true # use n and N to move between diff sections
light = false # set to true if you're in a terminal w/ a light background color (e.g. the default macOS terminal)
line-numbers = true
; side-by-side = true
; features = side-by-side theme
features = theme
[delta "theme"]
syntax-theme = base16-256