-
Notifications
You must be signed in to change notification settings - Fork 1
/
gitconfig
79 lines (79 loc) · 1.71 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
[include]
path = .gitlocal
[user]
name = William Randall
email = [email protected]
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[core]
excludesfile = ~/.gitignore_global
editor = vim
ignorecase = false
autocrlf = input
[color]
ui = true
[color "diff"]
meta = yellow
frag = cyan
old = red
new = green
[diff]
tool = vimdiff
[init]
defaultBranch = main
[alias]
a = add
aa = add -A
ad = add .
ai = add -i
alias = !git config --get-regexp ^alias\\. | sed -e s/^alias\\.// -e s/\\ /\\ =\\ /
ap = add -p
b = branch
bi = bisect
bl = blame
branches = branch -a
c = commit
ca = commit --amend
cam = commit -am
camp = !git commit -am \"$1\" && git push && :
cane = commit --amend --no-edit
cf = commit --fixup
cl = clone
cm = commit -m
co = checkout
cp = cherry-pick
d = diff
dc = diff --cached
ds = diff --staged
diff-words = diff --color-words='[^[:space:]]|([[:alnum:]]|UTF_8_GUARD)+'
dt = difftool
dw = diff --word-diff=color
f = fetch
fa = fetch --all
fp = fetch --prune --all
g = grep
h = help
l = log --all
lG = log --graph --decorate --name-status --all
lg = log --oneline --graph --decorate --all
lo = log --oneline
m = merge
ma = merge --abort
mt = mergetool
pu = push
pl = pull
pla = pull --all
r = reset
remotes = remote -v
s = status --short
sh = show
shs = show --stat
sl = shortlog
ss = status --show-stash
st = stash
stl = stash list
sts = stash show -p
wt = worktree