-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
52 lines (52 loc) · 1.17 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
[include]
path = ~/.gitconfig.local
[user]
name = Nachi Ueno
email = nati.ueno@gmail.com
[core]
editor = vim
[color]
ui = auto
[pager]
diff =
[alias]
co = checkout
ci = commit
cia = commit -a
cm = commit --amend --no-edit
cam = commit -a --amend --no-edit
s = status
st = stash
stp = stash pop
a = add
un = reset HEAD
cb = checkout -b
d = diff
dc = diff --cached
b = branch
ba = branch -a
lo = log
la = log --oneline
l = log -10 --oneline
f = fetch --prune
pl = !git pull origin `git rev-parse --abbrev-ref HEAD`
plo = pull origin
plom = pull origin master
ps = push
pso = push origin
psfo = push -f origin
psom = push origin master
r = rebase
ta = log --oneline --all --decorate --graph
t = log -10 --oneline --all --decorate --graph
p = !git push origin `git rev-parse --abbrev-ref HEAD`
delete-merged-branch = !git branch --merged | grep -v \\* | grep -v master | xargs -I % git branch -d %
[mergetool]
prompt = false
keepBackup = false
[merge]
tool = vimdiff
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true