/
.gitconfig
70 lines (66 loc) · 1.19 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
61
62
63
64
65
66
67
68
69
[alias]
a = add
ap = add --patch
au = add -u
b = branch
ba = branch --all
bam = branch --all --merged
bd = branch --delete
bm = branch --merged
c = commit
ca = commit --amend
cm = commit -m
d = diff
da = apply
dc = diff --cached
dm = diff master
dom = diff origin/master
dum = diff upstream/master
e = format-patch
ea = am
es = send-email
f = fetch
fo = fetch origin
fu = fetch upstream
g = grep
h = help
i = !git
k = checkout
k- = checkout --
kb = checkout -b
km = checkout master
l = log
ll = log --all --decorate --graph --pretty=medium -p
lp = log --patch
m = merge
mom = merge origin/master
ms = merge --squash
mum = merge upstream/master
n = init
o = clone
p = push
po = push origin
pom = push origin master
q = blame
r = rebase
ra = rebase --abort
ri = rebase -i
rim = rebase -i master
rom = rebase origin/master
rum = rebase upstream/master
s = status -sb
t = stash
ta = stash apply
tl = stash list
u = submodule
v = revert
w = show
x = reset
y = cherry-pick
z = remote
[format]
pretty = %Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset
[include]
path = ~/.gitconfig.local
[url "git@github.com"]
insteadOf = "hub"