-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
34 lines (34 loc) · 1.05 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
[user]
email = [email protected]
name = Mateusz
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = true
pager = true
[diff]
tool = nvimdiff
[delta]
features = line-numbers decorations
line-numbers = true
[difftool "nvimdiff"]
cmd = "nvim -d \"$LOCAL\" \"$REMOTE\""
[difftool]
prompt = true
[merge]
tool = nvimdiff
[mergetool "nvimdiff"]
cmd = "nvim -f -c \"Gdiff\" \"$MERGED\""
;[difftool "vimdiff"]
;path = /home/mateuszorzol/bin/vim/bin/vimdiff
[gitreview]
remote = origin
[alias]
lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
lg = !"git lg1"
[core]
editor = nvim
autocrlf = false