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
[alias]
a = add
b = branch
ba = branch --all
c = commit
ca = commit --amend
cl = clone
cm = commit --message
co = checkout
cot = checkout --theirs
coo = checkout --ours
con = config
d = diff
ds = diff --staged
l = log
ld = log --pretty=format:"%h %ad %s" --date=short --all
lg = log --all --grep
lgr = log --graph --oneline --decorate --all
lss = log --show-signature
p = pull
po = pull origin
pu = push
put = push --tags
puo = push -u origin
r = reset
rs = reset --soft
res = remote set-url
reso = remote set-url origin
rev = remote --verbose
sm = submodule
st = status
suir = submodule update --init --recursive
wt = worktree
wta = worktree add
ctags = !.git/hooks/ctags
[push]
autoSetupRemote = true
[difftool]
prompt = false
[init]
defaultBranch = main
# templatedir = ~/.config/git/template
[include]
path = ~/.config/git/user