-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
55 lines (55 loc) · 1.5 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
54
55
[user]
name = Pavlo Kochubei
email = [email protected]
[credential]
helper = osxkeychain
[mergetool "opendiff"]
cmd = "opendiff \"$LOCAL\" \"$REMOTE\" \"$(if test -f \"$BASE\"; then echo \"--ancestor $BASE\"; else echo \"--ancestor $LOCAL\"; fi)\" --merge=\"$MERGED\" "
[merge]
tool = opendiff
[alias]
pom = pull origin master
glog = log -E -i --grep
sla = log --oneline --decorate --graph --all
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --branches
[core]
editor = nvim
quotepath = false
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = /Users/pavloko/.gitignore
compression = 0
[fetch]
prune = true
[pager]
# insanely beautiful diffs ==> npm install -g diff-so-fancy
diff = diff-so-fancy | less --tabs=4 -RFX
show = diff-so-fancy | less --tabs=4 -RFX
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
# [color "diff"]
# meta = yellow bold
# commit = green bold
# frag = magenta bold
# old = red bold
# new = green bold
# whitespace = red reverse
# [color "diff-highlight"]
# oldNormal = red bold
# oldHighlight = "red bold 52"
# newNormal = "green bold"
# newHighlight = "green bold 22"
# [color "branch"]
# current = yellow reverse
# local = yellow
# remote = green
# [color "status"]
# added = yellow
# changed = green
# untracked = cyan
[pull]
ff = yes
[init]
defaultBranch = main