-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
53 lines (42 loc) · 1.26 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
[alias]
pretty-log = !git --no-pager log \
--color --graph --abbrev-commit --decorate=auto \
--pretty=format:"'%w(72,2,5)%C(ul #f08000)%h%C(noul):%Creset %C(bold)%s%Creset%n%C(#f08000)└%C(dim #f08000)%an, %cr%+gD%Creset'" \
| bat --style=grid
short-pretty-log = !git --no-pager log \
--color --abbrev-commit --decorate=auto \
--pretty=format:"'%w(72,2,5)%C(ul #f08000)%h%C(noul):%Creset %C(bold)%s%Creset'" \
| bat --style=grid,numbers
plog = !git pretty-log
splog = !git short-pretty-log
commit-count = !git plog | grep -E '^\\*' | wc -l
cc = !git commit-count
[user]
email = [email protected]
name = Renard
github = fox-tek
[core]
excludesfile = /home/renard/.dotfiles/tekgi
pager = diff-so-fancy | bat --style=numbers,grid,snip
[merge]
tool = vimdiff
[mergetool]
keepBackup = false
[mergetool "vimdiff"]
cmd = nvim -d $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'
[diff-so-fancy]
rulerWidth = 47
[color]
ui = true
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = blue bold
frag = blue dim
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse