-
Notifications
You must be signed in to change notification settings - Fork 9
/
.gitconfig
executable file
·59 lines (56 loc) · 1.31 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
56
57
58
59
[user]
name = Sergey Berezhnoy
email = veged@yandex-team.ru
[alias]
co = checkout
st = status
di = diff
ci = commit
undo-commit = reset --soft HEAD^
hi = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
# git reauthor $START..$END
reauthor = !sh -c 'eval `git log --reverse --topo-order --pretty=format:\"git cherry-pick %H && git commit --amend -C %H --author=\\\"%aN <%aE>\\\" && \" $0 ` "echo success" '
dt = difftool
undo = reset --soft HEAD~1
[color]
branch = auto
diff = auto
interactive = auto
status = auto
[core]
editor = nvim
autocrlf = input
excludesfile = ~/.gitignore
[diff]
noprefix = true
tool = nvimdiff
[difftool "nvimdiff"]
cmd = nvim -d $BASE $LOCAL
[merge]
tool = nvimdiff
[mergetool "nvimdiff"]
cmd = nvim -d $BASE $LOCAL
[push]
default = current
[url "git@github.com:"]
pushInsteadOf = "gh:"
pushInsteadOf = "git://github.com/"
[url "git://github.com/"]
insteadOf = "gh:"
[url "git@github.yandex-team.ru:"]
pushInsteadOf = "ghyt:"
pushInsteadOf = "git://github.yandex-team.ru/"
[url "git://github.yandex-team.ru/"]
insteadOf = "ghyt:"
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[lfs]
batch = true
concurrenttransfers = 15
[difftool]
prompt = false
[include]
path = gitalias.txt