-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
38 lines (38 loc) · 1.15 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
[core]
editor = nvim
[merge]
tool = fugitive
[mergetool]
prompt=true
[mergetool "fugitive"]
cmd = nvim -f -c "Gvdiffsplit!" "$MERGED"
[diff]
tool = nvimdiff
[difftool]
prompt = true
[difftool "nvimdiff"]
cmd = nvim -d "$LOCAL" "$REMOTE"
[push]
default = current
[interactive]
diffFilter = delta --color-only
[delta]
features = side-by-side line-numbers decoration
whitespace-error-style = 22 reverse
[delta "decorations"]
commit-decoration-style = bold yellow box ul
file-style = bold yellow ul
file-decoration-style = none
[alias]
p = pull
mg = merge
co = checkout
cob = checkout -b
brdel = branch -d
br = branch --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(contents:subject) %(color:green)(%(committerdate:relative)) [%(authorname)]' --sort=-committerdate
lg = 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
[init]
defaultBranch = main
[safe]
directory = /home/hanifrmdhn/Repo/
directory = /home/hanifrmdhn/Repo/neovim/