-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
58 lines (50 loc) · 1.1 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
[user]
name = Naoki Nakano
email = [email protected]
[color]
ui = auto
[push]
default = simple
[core]
excludesfile = ~/.gitignore # globalな.gitignoreの指定
editor = vim +1 -c 'set fenc=utf-8'
preloadindex = true
[merge]
ff = false
[rebase]
autosquash = true
[alias]
st = status --short --branch
ol = log --oneline --graph
cl = clone
co = checkout
cm = checkout master
cd = checkout develop
br = branch
ba = branch -a
c = commit
ci = commit -v
fix = commit --amend -v
fixa = commit --amend -v -a
ca = commit -v -a
aa = add .
reh = reset --hard
ri = rebase -i
df = diff
dc = diff --cached
sh = show
pl = pull --ff
plr = pull --rebase
ps = push
psu = !git push -u origin "$(git rev-parse --abbrev-ref HEAD)"
git = !git
gr = grep -I
fu = fetch upstream
m = merge
[ghq]
root = ~/.ghq
root = ~/go/src
root = ~/.vim/bundle/
[url "[email protected]:"]
pushinsteadof = "git://github.com/"
pushinsteadof = "https://github.com"