-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
63 lines (62 loc) · 1.34 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
60
61
62
63
[user]
name = nyangry
email = iacta.alea.esto@gmail.com
[alias]
co = checkout
a = add
c = commit
s = status
sh = show
l = log
b = branch
openpr = "!f() { hub browse -- `git log --merges --oneline --reverse --ancestry-path $1...master | grep 'Merge pull request #' | head -n 1 | cut -f5 -d' ' | sed -e 's%#%pull/%'`; }; f"
[core]
autocrlf = input
eol = lf
excludesfile = ~/.gitignore
editor = vim
commentChar = "%"
[diff]
; tool = vimdiff
algorithm = histogram
compactionHeuristic = true
; algorithm = patience
[merge]
tool = extMerge
ff = false
[mergetool "extMerge"]
cmd = extMerge "$BASE" "$LOCAL" "$REMOTE" "$MERGED"
trustExitCode = true
[mergetool]
keepBackup = false
[push]
default = simple
[color]
ui = auto
diff = auto
status = auto
branch = auto
[color "diff"]
meta = blue black bold
[interactive]
singlekey = true
[filter "media"]
clean = git media clean %f
smudge = git media smudge %f
required = true
[include]
path = .gitconfig.local
[filter "hawser"]
clean = git hawser clean %f
smudge = git hawser smudge %f
required = true
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
[pager]
log = diff-highlight | less
show = diff-highlight | less
diff = diff-highlight | less
[ghq]
root = ~/work