-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_gitconfig
73 lines (73 loc) · 1.72 KB
/
dot_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
[user]
name = Iouns
email = [email protected]
signingKey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFMJ2oSOn+coRovpW2iFOE7TI6mQ4nOsuqbh7gS1/jtL [email protected]
[gpg]
format = ssh
[format]
signOff = true
[core]
editor = nvim
excludesfile = {{ .chezmoi.homeDir }}/.gitignore_global
[commit]
gpgsign = true
[merge]
ff = only
[pull]
rebase = true
[status]
submoduleSummary = false
[tag]
forceSignAnnotated = true
[init]
defaultBranch = main
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
[url "ssh://[email protected]/"]
pushInsteadOf = https://github.com/
[push]
autoSetupRemote = true
[alias]
yolo = !git commit -m \"$(curl -s whatthecommit.com/index.txt)\"
a = add
ap = add -p
amc = am --continue
b = branch
bm = branch --merged
bnm = branch --no-merged
c = commit
cl = clonr
ca = commit --amend
cane = commit --amend --no-edit
cf = commit --fixup
cm = commit --message
co = checkout
cob = checkout -b
com = checkout master
cp = cherry-pick
d = diff
dc = diff --cached
dom = diff origin/master
fo = fetch origin
g = grep --line-number
mbhom = merge-base HEAD origin/master
mff = merge --ff-only
ol = log --pretty=oneline
l = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
pu = push
puf = push --force
pl = pull --rebase --autostash
r = restore
ra = rebase --abort
rc = rebase --continue
ri = rebase --interactive
rl = reflog
riom = rebase --interactive origin/master
rpo = remote prune origin
s = status -sb
ss = commit --message snapshot --no-gpg-sign
su = submodule update
wd = diff --patience --word-diff