-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
57 lines (57 loc) · 1.83 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
# put this in the $HOME/.gitconfig file
[user]
email = gmoshkin@picodata.io
name = Georgy Moshkin
[alias]
a = add
b = branch
c = commit
ca = commit --amend
co = checkout
curbranch = rev-parse --abbrev-ref HEAD
cb = rev-parse --abbrev-ref HEAD
curhash = rev-parse --verify HEAD
cp = cherry-pick
cpc = cherry-pick --continue
cpa = cherry-pick --abort
d = diff
dc = diff --cached
f = fetch
p = pull
pr = pull --rebase
pu = push
s = status
ss = stash save
sp = stash pop
sh = show
stashpull = !"git stash && git pull && git stash pop"
r = rebase
ri = rebase --interactive
rc = rebase --continue
ra = rebase --abort
ro = rebase --onto
lg = log --graph
logg = log --graph
l1 = log --oneline
log1 = log --oneline
l1g = log --oneline --graph
log1g = log --oneline --graph
lg1 = log --graph --oneline
logg1 = log --graph --oneline
lt = log -1
last = log -1
lgp = log --graph --pretty='%Cgreen%ar%Creset %Cblue%h%Creset (%Cred%an%Creset) %s'
loggp = log --graph --pretty='%Cgreen%ar%Creset %Cblue%h%Creset (%Cred%an%Creset) %s'
l = log --graph --pretty='%Cgreen%ar%Creset %Cblue%h%Creset (%Cred%an%Creset) %s'
la = log --all --graph --pretty='%Cgreen%ar%Creset %Cblue%h%Creset (%Cred%an%Creset)%C(yellow)%d%Creset %s'
loggpa = log --all --graph --pretty='%Cgreen%ar%Creset %Cblue%h%Creset (%Cred%an%Creset)%C(yellow)%d%Creset %s'
m = merge
ma = merge --abort
[core]
excludesfile = ~/.gitignore
[pull]
rebase = true
[push]
default = simple
[diff]
algorithm = patience