-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
35 lines (35 loc) · 1.12 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
[include]
path = ~/.gitconfig.local
[core]
excludesfile = ~/.gitignore_global
attributesfile = ~/.gitattributes
ignorecase = false
editor = nvim
[diff]
tool = vimdiff
editor = nvim
[difftool]
prompt = false
trustExitCode = true
[diff "image"]
# command = ~/.bin/sh/git-imgdiff
[merge]
tool = vimdiff
[mergetool]
keepBackup = false
trustExitCode = true
[color]
ui = true
[alias]
tree = log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(bold white)— %an%C(reset)%C(bold yellow)%d%C(reset)' --abbrev-commit --date=relative
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
lga = log --graph --all --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
[http]
postBuffer = 1048576000
[commit]
template = ~/.gitmessage
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true