-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_gitconfig.tmpl
More file actions
70 lines (70 loc) · 1.55 KB
/
Copy pathdot_gitconfig.tmpl
File metadata and controls
70 lines (70 loc) · 1.55 KB
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
[user]
name = Sam Starling
email = 42478+samstarling@users.noreply.github.com
signingkey = {{ .signingKey }}
useConfigOnly = true
[push]
autoSetupRemote = true
[pull]
rebase = true
[fetch]
prune = true
[rerere]
enabled = true
[diff]
algorithm = histogram
[init]
defaultBranch = main
[alias]
st = status
br = branch --sort=-committerdate
co = checkout
cb = "!f() { git checkout -b sam/$1; }; f"
now = commit --amend --date=now
rc = rebase --continue
yolo = push --force-with-lease
nb = "!f() { git checkout -b "sam/$(date +%Y-%m)-$1"; }; f"
inc = "!f() { git checkout -b \"$USER/inc-$1\"; }; f"
[core]
pager = delta
excludesfile = ~/.gitignore
[color]
ui = true
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = 11
frag = magenta bold
func = 146 bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse
[interactive]
diffFilter = delta --color-only --features=interactive
[delta]
features = decorations
line-numbers = true
side-by-side = true
[delta "interactive"]
keep-plus-minus-markers = false
[delta "decorations"]
commit-decoration-style = blue ol
commit-style = raw
file-style = omit
hunk-header-decoration-style = blue box
hunk-header-file-style = red
hunk-header-line-number-style = "#067a00"
hunk-header-style = file line-number syntax
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[commit]
gpgsign = true
[tag]
gpgSign = true