-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
executable file
·92 lines (83 loc) · 2.01 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
86
87
88
89
90
91
92
[user]
email = [email protected]
name = Mike Nichols
[alias]
an = add -N .
ap = add --patch
b = branch
bb = bisect bad
bg = bisect good
branch-name = rev-parse --abbrev-ref HEAD
bs = bisect start
cam = commit --all --message
cf = commit --fixup
ci = commit
co = checkout
cod = checkout env/development
com = checkout main
cop2 = checkout @{-2}
cop3 = checkout @{-3}
cop4 = checkout @{-4}
cop5 = checkout @{-5}
cop6 = checkout @{-6}
coprod = checkout env/production
cos = checkout env/staging
cp = cherry-pick
cpx = cherry-pick -x
d = !ydiff
da = diff --word-diff=color
dc = !ydiff --cached
dcs = !ydiff --cached --side-by-side --width=65
df = !ydiff
dfc = !ydiff --cached
ds = !ydiff --side-by-side --width=65
f = fetch
fp = fetch --prune
it = !git init && git commit --message "root" --allow-empty
kb = reset --hard HEAD~1
l = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
ma = merge abort
mm = merge main
mmours = merge --strategy recursive --strategy-option ours main
oops = commit --amend --reuse-message HEAD
phm = push heroku main
pirg = push --set-upstream origin HEAD
poh = push --set-upstream origin HEAD
pr = pull --rebase
pushf = push --force-with-lease
r = rebase
ra = rebase --abort
rb = reset --mixed HEAD~1
rbm = rebase --autosquash main
rc = rebase --continue
ri = rebase --interactive
rpo = remote prune origin
s = status
sa = stash apply
sd = stash drop
sh = show head
sl = stash list
sp = stash pop
st0 = stash --keep-index
st1 = stash
st2 = stash --include-untracked
st3 = stash --all
tc = commit --all --message temp_commit
up = rev-parse --abbrev-ref --symbolic-full-name @{u}
[color]
ui = auto
[pager]
branch = false
[push]
default = simple
[rerere]
enabled = true
autoupdate = true
[rebase]
autosquash = true
[interactive]
singleKey = true
[transfer]
fsckObjects = true
[init]
defaultBranch = main