-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
50 lines (37 loc) · 981 Bytes
/
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
[core]
pager = delta
excludesfile = ~/.gitignore_local
editor = nvim
[include]
path = ~/.config/delta-themes.gitconfig
[interactive]
diffFilter = delta --color-only
[delta]
features = side-by-side line-numbers decorations
whitespace-error-style = 22 reverse
[delta "decorations"]
syntax-theme = Catppuccin-mocha
[user]
email = david@jensenius.com
name = David Jensenius
signingkey = 3C99585F0FFC7101
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[push]
default = current
[init]
defaultBranch = main
[commit]
gpgsign = true
[github]
user = djensenius
[credential]
helper = cache
[url "https://github.com"]
insteadOf = git@github.com:
[alias]
m = !git rev-parse --abbrev-ref origin/HEAD | cut -c8- | xargs -n 1 git checkout
mp = !git rev-parse --abbrev-ref origin/HEAD | cut -c8- | xargs -n 1 git checkout && git pull origin $(git rev-parse --abbrev-ref HEAD)