-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_gitconfig.tmpl
72 lines (68 loc) · 1.87 KB
/
dot_gitconfig.tmpl
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
[alias]
co = checkout
br = branch
ci = commit
st = status
aa = add --all
cm = commit -m
dcm = duet-commit -m
f = commit --fixup
df = diff
l = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
fp = "!git push --force-with-lease origin \"$(git rev-parse --abbrev-ref HEAD)\""
rb = pull --rebase origin main
rbm = pull --rebase origin master
rbb = pull --rebase origin beta
ud = "!git pull --rebase origin \"$(git rev-parse --abbrev-ref HEAD)\""
cofurf = "!sh -c \"git cof $1 && git ud && git rb && git fp\""
nb = "!sh -c \"git checkout -b $1 && git push origin $1 -u --no-verify\" -"
cof = "!sh -c \"git fetch && git checkout $1\" -"
pickc = cherry-pick --continue
pick = cherry-pick
[user]
name = Daniel Schmidt
email = [email protected]
signingkey = {{ onepasswordRead "op://gv2pj3dcyg2wxx3ahtvgdamp2e/okuhh55hdfabbnwvgzomsywrxe/id" "EI6GPO6VNJAVLGDDID3B75JI6E" }}
[core]
editor = vim
pager = less -F -X
excludesFile = ~/.gitignore
[push]
default = upstream
autoSetupRemote = true
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
[rebase]
autosquash = true
autoStash = true
[remote "origin"]
fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
[init]
defaultBranch = main
[commit]
gpgsign = true
[pull]
rebase = true
[gpg]
program = gpg
[pager]
diff = delta
log = delta
reflog = delta
show = delta
[interactive]
diffFilter = delta --color-only
[delta]
features = side-by-side line-numbers decorations
whitespace-error-style = 22 reverse
[delta "decorations"]
commit-decoration-style = bold yellow box ul
file-style = bold yellow ul
file-decoration-style = none
[http]
postBuffer = 157286400
[url "[email protected]:"]
insteadOf = https://github.com/