This repository has been archived by the owner on May 28, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
executable file
·85 lines (85 loc) · 2.25 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[user]
email = [email protected]
name = Artur Bosch
[pull]
rebase = true
[core]
autocrlf = input
editor = nvim
excludesfile = ~/.gitignore
quotepath = false
[alias]
a = add
aa = add --all
aliases = !git config --get-regexp 'alias.*' | colrm 1 6 | sed 's/[ ]/ = /' | sort
b = branch
cach = commit --amend -C HEAD
cam = commit -a -m
cem = commit --amend -m
cm = commit -m
co = checkout
cob = checkout -b
d = diff
dc = diff-tree --no-commit-id --name-status -r
ds = diff --staged
dsw = diff --staged -w
dswd = diff --staged --word-diff
dnc = diff --no-color
dw = diff -w
dwd = diff --word-diff
dcsv = diff --word-diff-regex="[^[:space:],]+"
f = fetch
noc = rev-list HEAD --count
l = log
lc = log --graph --pretty=format:\"%an: %s%C(yellow)%d%Creset %Cgreen(%cr)%Creset\" --date=relative
lch = rev-parse HEAD
lm = "!me=$(git config --get user.name); git log --oneline --author \"$me\""
lo = log --oneline
ls = log --graph -10 --branches --remotes --tags --format=format:'%Cgreen%h %Creset• %<(75,trunc)%s (%cN, %cr) %Cred%d' --date-order
lodg = log --oneline --decorate --graph
p = push
pl = pull
pou = push origin -u
s = status
si = status --ignored
st = stash
sta = stash pop
squash = "!f(){ git reset --soft HEAD~${1} && git commit --edit -m\"$(git log --format=%B --reverse HEAD..HEAD@{1})\"; };f"
r = reset
ra = remote add
rao = remote add origin
rau = remote add upstream
rba = rebase --abort
rbc = rebase --continue
rbi = rebase -i
rbm = rebase master
rbih1 = rebase -i HEAD~1
rbih2 = rebase -i HEAD~2
rbih3 = rebase -i HEAD~3
rbih4 = rebase -i HEAD~4
rbih5 = rebase -i HEAD~5
rbiom = rebase -i origin/master
rbs = rebase --skip
rh = reset --hard
rha = reset HEAD .
rhom = reset --hard origin/master
rro = remote remove origin
rru = remote remove upstream
rpo = remote prune origin
rpu = remote prune upstream
rs = reset --soft
t = tag
tl = log --tags --simplify-by-decoration --pretty='format:%ci %d'
trm = ls-tree -r master --name-only
unwatch = update-index --assume-unchanged
watch = update-index --no-assume-unchanged
up = pull --rebase --autostash
[fetch]
prune = true
[rebase]
autoStash = true
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f