-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdot_gitconfig.tmpl
More file actions
74 lines (74 loc) · 1.63 KB
/
Copy pathdot_gitconfig.tmpl
File metadata and controls
74 lines (74 loc) · 1.63 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
71
72
73
74
[user]
name = Jesse Dearing
email = code@me.jesse.dev
signingkey = ~/.config/git/signing_key.pub
[color]
ui = true
[mergetool "vim"]
cmd = nvim \"+lua require('diffview').open({})\"
[mergetool "fugitive"]
cmd = nvim -c "Gdiffsplit!" "$MERGED"
[merge]
tool = fugitive
[difftool "vim"]
cmd = nvim -d $LOCAL $REMOTE
[difftool]
trustExitCode = true
prompt = false
[diff]
tool = vim
colorMoved = default
[push]
default = simple
[help]
autocorrect = 1
[includeIf "gitdir:~/Documents/code/gitlab/"]
path = ~/.gitconfig.gitlab
[includeIf "gitdir:~/Documents/code/github"]
path = ~/.gitconfig.github
[include]
path = ~/.gitconfig.local
[alias]
reuse=commit --amend --reuse-message=HEAD
s=status -sb
glinit=config --local --add remote.origin.fetch '+refs/merge-requests/*/head:refs/remotes/origin/merge-request/*'
[fetch]
prune = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
required = true
process = git-lfs filter-process
[github]
user = jessedearing
[commit]
gpgsign = true
[pull]
rebase = true
[rebase]
autoStash = true
autoSquash = true
instructionFormat = (%an <%ae>) %s
[protocol]
version = 2
[rerere]
enabled = true
[init]
defaultBranch = main
[gpg]
format = "ssh"
[gpg "ssh"]
allowedSignersFile = ~/.config/git/gitSigners
[url "https://github.com/"]
insteadOf = "git@github.com:"
[credential "https://github.com"]
username = jessedearing
[credential]
helper = cache --timeout 21600 # six hours
helper = oauth
[diff "age"]
textconv = age --decrypt -i ~/.age.key
[filter "age"]
clean = age --encrypt --armor -R ~/.age.pub
smudge = age --decrypt -i ~/.age.key
required