-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
60 lines (54 loc) · 1.63 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
[alias]
alias = !git config --list | grep 'alias\\.' | sed 's/alias\\.\\([^=]*\\)=\\(.*\\)/\\1\\\t => \\2/'
a = add --verbose
ap = add --verbose -p
b = !git --no-pager branch
ba = !git --no-pager branch --all
bc = rev-parse --abbrev-ref @
bd = branch --delete --force
br = branch --remote
cm = commit --message
co = checkout
cp = cherry-pick
d = diff
dc = diff --cached
f = fetch --prune
g = grep -nH --break --heading
l = log --abbrev-commit --date=iso --graph --pretty=format:'%C(red)%h %C(yellow)%d%C(green)%cd %C(blue)%cn\n%C(reset)%s\n'
lv = log --abbrev-commit --date=iso --graph --pretty=format:'%C(red)%h %C(yellow)%d%C(green)%cd %C(blue)%cn\n%C(reset)%s\n' --name-status
plf = pull --ff-only
pln = pull --no-ff
ps = push
pso = push origin
psoc= !git push origin `git rev-parse --abbrev-ref @`
res = remote show
st = status --branch --short
sm = submodule
smui= submodule update --init
w = whatchanged
wp = whatchanged -p
rkmathi = !git config --replace-all --local user.name 'Ryuichi KAWAMATA' && git config --replace-all --local user.email '[email protected]'
[color]
branch = auto
diff = auto
grep = auto
interactive = auto
status = auto
ui = auto
[core]
autocrlf = input
editor = vi
pager = less -R
precomposeunicode = true
quotepath = false
safecrlf = true
excludesfile = ~/.gitignore-rkmathi
[interactive]
singlekey = true
[push]
default = simple
[user]
name = Ryuichi KAWAMATA
email = [email protected]
[ghq]
root = ~/ghq