-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
62 lines (62 loc) · 1.64 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
[advice]
statusHints = false
[credential]
helper = cache
[pull]
ff = only
[push]
default = simple
[core]
autocrlf = input
preloadindex = true
fscache = true
[color]
ui = auto
[color "status"]
added = green
changed = yellow
untracked = red
[alias]
rl = "!rm .git/index.lock"
cmb = "!git branch --merged | egrep -v \"(^\\*|master)\" | xargs -rt git branch -d #"
f = fetch -p
ec = config --global -e
cfd = clean -fd
ca = commit --amend
d = diff
dc = diff --cached
dh = diff HEAD
dd = diff --word-diff-regex=\"[A-Za-z0-9. ]|[^[:space:]]\"
ddc = diff --cached --word-diff-regex=\"[A-Za-z0-9. ]|[^[:space:]]\"
s = status -s
sb = status -sb
su = status -s -uno
st = stash
stu = stash --include-untracked
stp = stash pop
ad = add
ap = add --patch
lgm = log master..
l = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
pat = format-patch --stdout HEAD~1
co = checkout
nb = checkout -b
cp = checkout --patch
pnr = pull --no-rebase
pff = pull --ff
rp = reset --patch
rc = rebase --continue
ra = rebase --abort
ri = rebase -i
ria = rebase -i --autosquash
fix = commit --fixup
aliases = !git config --get-regexp 'alias.*' | colrm 1 6 | sed 's/[ ]/ = /'
[submodule]
fetchJobs = 8
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[include]
path = ~/.gitconfig.local