-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig.local
54 lines (48 loc) · 1.18 KB
/
gitconfig.local
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
[core]
excludesfile = /Users/adam/.gitignore
autocrlf = input
[color]
branch = auto
diff = auto
status = auto
[color "branch"]
current = yellow reverse
local = blue
remote = green
[color "diff"]
meta = blue bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = green
changed = red
untracked = blue
[alias]
s = status -s
ci = commit
cb = checkout -b
br = branch
co = checkout
d = diff
ll = log --stat --summary --abbrev-commit --date=relative
lp = log --stat --summary --abbrev-commit --no-merges --patch-with-stat
l = log --oneline -n 15 --no-merges
b = branch -a -v
track = !sh -c 'git branch --track "$0" "origin/$0" && git checkout "$0"'
ds = diff --staged
cp = cherry-pick
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
ribbon = tag --force _ribbon origin/master
catchup = log --patch --reverse --topo-order _ribbon..origin/master
[push]
default = tracking
quiet = true
[apply]
whitespace = nowarn
[diff "ruby"]
funcname = ^ *\\(\\(class\\|module\\|def\\) .*\\)
[rerere]
enabled = 1
[include]
path = ~/.gitconfig.host