-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
45 lines (45 loc) · 978 Bytes
/
Copy pathgitconfig
File metadata and controls
45 lines (45 loc) · 978 Bytes
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
[core]
excludesfile = ~/.gitignore
editor = mvim -v
whitespace = tab-in-indent
[color]
ui = auto
[merge]
tool = mvimdiff
[alias]
c = commit
ca = commit --amend
caf = commit --amend -C HEAD
co = checkout
cp = !git commit -m 'checkpoint'
cpa = !git add . && git commit -m 'checkpoint'
crm = commit --reuse-message=HEAD@{1}
s = status
sh = show
shipit = !gh pr create -f && gh pr merge --auto -r -d
a = add
l = log @{upstream}..
la = log
lo = log --oneline @{upstream}..
loa = log --oneline
lg = log --graph @{upstream}..
lga = log --graph
ln = log --oneline --name-status @{upstream}..
lna = log --oneline --name-status
t = tag
b = branch
d = diff
dc = diff --cached
r = reset
re = rebase -i
rma = rebase origin/main
f = fetch
pr = pull --rebase
tfo = !git reset --hard && git clean -fd
prune = remote update --prune
[push]
default = current
[include]
path = .gitconfig.local
[init]
defaultBranch = main