-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
57 lines (47 loc) · 1.21 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
# derived from woju's config
[core]
editor = /usr/bin/subl -n -w
[user]
email = [email protected]
name = Michał Kowalczyk
[push]
default = current
[pull]
rebase = false
ff = only
[alias]
ap = add -p
ci = commit
cif = commit --fixup
ff = merge --ff-only
co = checkout
sw = switch
cp = cherry-pick --ff
b = branch
br = branch
ba = branch -a
st = status
d = diff
dc = diff --cached
dt = difftool
dtc = difftool --cached
ds = diff --stat
dcs = diff --cached --stat
dbr = "!id=$(git merge-base master HEAD); git diff ${id}..HEAD"
bl = blame
l = log
lp = log -p
lpr = log -p --reverse
l1 = log --oneline --no-decorate
lg1 = log --graph --oneline --no-decorate
lbr = "!id=$(git merge-base master HEAD); git log --no-decorate ${id}..HEAD"
lbr1 = "!id=$(git merge-base master HEAD); git log --no-decorate --oneline ${id}..HEAD"
head = log -n1
fgrep = grep -Fn
fpn = format-patch -N
fpt = format-patch --cover-letter --thread=shallow
am3 = am -3
amc = am --continue
gconfig = config --global
rc = rebase --continue
rbr = "!id=$(git merge-base master HEAD); git rebase -i ${id}"