-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitconfig
41 lines (31 loc) · 1.01 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
[alias]
children = "!f() { git rev-list --all --not HEAD^@ --children | grep $(git rev-parse HEAD) | awk {'print $2'}; }; f"
dc = diff --cached
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
next = "!f() { git checkout `git children`; }; f"
prev = "!f() { git checkout HEAD^; }; f"
[color]
ui = auto
[core]
pager = delta --features "$(defaults read -globalDomain AppleInterfaceStyle &> /dev/null && echo dark-mode || echo light-mode)"
[delta]
navigate = true
[delta "decorations"]
commit-decoration-style = bold yellow box ul
file-style = bold yellow ul
file-decoration-style = none
[delta "light-mode"]
features = "decorations line-numbers side-by-side"
light = true
syntax-theme = GitHub
[delta "dark-mode"]
features = "decorations line-numbers side-by-side"
light = false
syntax-theme = Visual Studio Dark+
[diff]
colorMoved = default
[merge]
conflictStyle = diff3
[user]
name = Valentin Robert