-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
52 lines (52 loc) · 1.45 KB
/
gitconfig
File metadata and controls
52 lines (52 loc) · 1.45 KB
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
# 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 -x
cpc = cherry-pick --continue
cpa = cherry-pick --abort
d = -c color.ui=always diff
dc = -c color.ui=always diff --cached
f = fetch
p = pull
pr = pull --rebase
pu = push
puf = push --force-with-lease
s = -c color.ui=always status
ss = stash save
sp = stash pop
sh = show --color
stashpull = !"git stash && git pull && git stash pop"
r = rebase
ri = rebase --interactive
rc = rebase --continue
ra = rebase --abort
ro = rebase --onto
l = log --graph --color --pretty='%Cgreen%ar%Creset %Cblue%h%Creset (%Cred%an%Creset) %s'
la = log --all --graph --color --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
submodule = log
[rebase]
updateRefs = true
[submodule]
fetchJobs = 8
[fetch]
parallel = 16