-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
72 lines (56 loc) · 1.41 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
64
65
66
67
68
69
70
71
72
[user]
name = Tim Burke
email = [email protected]
[merge]
tool = kdiff3
[diff]
compactionHeuristic = true
[mergetool "kdiff3"]
path = /Applications/kdiff3.app/Contents/MacOS/kdiff3
[difftool "kdiff3"]
path = /Applications/kdiff3.app/Contents/MacOS/kdiff3
[alias]
ll = log --pretty='format:%C(yellow)%h%Creset %s%C(green bold)%d%Creset %C(black bold)(by %an, %ar)%Creset'
lrc = log --left-right --pretty='format:%m %C(yellow)%h%Creset %s%C(green bold)%d%Creset %C(black bold)(by %an, %ar)%Creset'
lc = !sh -c 'git ll origin/HEAD..${1:HEAD}' -
lcr = !sh -c 'git ll ${1:HEAD}..origin/HEAD' -
lu = !sh -c 'git ll @{u}..${1:HEAD}' -
lur = !sh -c 'git ll ${1:HEAD}..@{u}' -
cv = !git-cherry-view
bv = branch --color -vvv
br = branch --contains origin~250 -a --no-merged origin
v = tag --points-at HEAD
rv = describe --abbrev=0 --tags
st = status --short --branch
[color]
ui = auto
[color "diff"]
meta = blue bold
frag = magenta bold
old = red bold
new = green bold
[color "branch"]
current = yellow reverse
local = yellow bold
remote = green
plain = red bold
[color "decorate"]
branch = green bold
remoteBranch = green
[color "status"]
added = yellow
changed = green bold
untracked = blue bold
[push]
default = simple
[diff "ini"]
xfuncname = "^(\\[.*\\])"
[fetch]
prune = true
[pull]
rebase = true
[rebase]
autoSquash = true
autoStash = true
[stash]
showPatch = true