-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
56 lines (56 loc) · 1.04 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
[user]
name = Takumi Kaji
email = [email protected]
[color]
ui = true
[core]
editor = vim
excludesfile = ~/.gitignore
quotepath = false
pager = less
[push]
default = simple
[pull]
ff = only
[alias]
a = add
ap = add -p
b = branch
bd = branch -d
bm = branch -m
ca = commit -v --amend
ci = commit -v
cl = clone
cm = commit -v -m
co = checkout
cob = checkout -b
com = checkout master
cp = cherry-pick
d = diff
dc = diff --cached
dm = diff origin/master
f = fetch
g = grep -n
l = log -10 --decorate
lg = log -100 --graph --oneline --decorate
ll = log -10 --stat -p --decorate
m = merge
rb = rebase
rba = rebase --abort
rbc = rebase --continue
rbm = rebase master
re = restore
rfl = reflog
rs = reset
sh = show
showpr = !"f() { git log --merges --oneline --reverse --ancestry-path $1...master | grep 'Merge pull request #' | head -n 1; }; f"
sl = stash list
sp = stash pop
st = status
sw = switch
[diff]
compactionHeuristic = true
[ghq]
root = ~/dev/src
[fetch]
prune = true