-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
76 lines (67 loc) · 1.59 KB
/
Copy pathgitconfig
File metadata and controls
76 lines (67 loc) · 1.59 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# vi: set ft=toml :
[user]
name = endaaman
email = ken@endaaman.com
[include]
path = ~/.gitconfig_local
[core]
excludesfile = ~/.gitignore_global
editor = $EDITOR -c \"set fenc=utf-8\"
quotePath = false
[alias]
a = add
aa = add .
ac = !git add . && git commit
acu = !git add . && git commit -m update
acup = !git add . && git commit -m update && git push
aca = !git add . && git commit --amend
br = branch
c = commit
ca = commit --amend
cl = clone
cm = commit -m
co = checkout
cob = checkout -b
cof = !git checkout $(git branch -a | fzf | tr -d ' ' | tr -d '*')
cp = cherry-pick
d = diff
f = fetch
ff = fetch --prune --all
gr = grep
i = "!f() { git rebase -i @~$1; }; f"
l = log
lp = log -p -1
lpn = log -p -1 --name-only
pl = pull
plr = pull --rebase
ps = push -u
rb = rebase
rr = !git rm -r --cached . > /dev/null && git add .
rs = reset
ri = "!f() { p=$1; shift; git reset @~$p $*; }; f"
rsf = checkout HEAD --
s = status -u
st = stash
sm = submodule
u = pull --rebase
us = pull --rebase --autostash
[color]
ui = true
diff = true
[http "https://gopkg.in"]
followRedirects = true
[pager]
log = (diff-highlight 2>/dev/null || cat) | ${PAGER:-less}
show = (diff-highlight 2>/dev/null || cat) | ${PAGER:-less}
diff = (diff-highlight 2>/dev/null || cat) | ${PAGER:-less}
[interactive]
diffFilter = (diff-highlight 2>/dev/null || cat)
[diff]
compactionHeuristic = true
[credential]
helper = store
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f