-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig.export
53 lines (53 loc) · 1.16 KB
/
.gitconfig.export
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
# vim:ft=gitconfig
[user]
email = [email protected]
name = Anton Backer
[core]
pager = less -FX
excludesfile = ~/.gitignore_global
[alias]
hist = log --oneline --graph --decorate -n 20
trees = log --format=\"%h %T\"
tree = show --no-patch --format=%T
hash = show --no-patch --format=%H
mod = submodule
note = notes
recent = !git -c color.ui=always reflog --pretty=reflog | grep checkout: | head -n20
destroy = "!f() { ref=$(git symbolic-ref HEAD) && git checkout - && git branch -D \"${ref#refs/heads/}\"; }; f"
[diff]
tool = vimdiff
mnemonicprefix = true
[pretty]
reflog=%C(auto)%h %C(green)(committed %cr)%C(reset) %gs
[difftool]
prompt = false
[color]
ui = auto
[rebase]
autosquash = true
autoStash = true
[rerere]
enabled = true
[tag]
sort = version:refname
[column]
tag = auto
[log]
mailmap = true
[merge]
tool = diffconflicts
conflictStyle = diff3
[mergetool "diffconflicts"]
cmd = diffconflicts vim $BASE $LOCAL $REMOTE $MERGED
trustExitCode = true
keepBackup = false
[pull]
rebase = true
[push]
default = upstream
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
required = true
[notes]
rewriteRef = refs/notes/commits