-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
44 lines (44 loc) · 1.07 KB
/
.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
[user]
email = [email protected]
name = Nick Hale
signingkey = /Users/nick/.ssh/id_ed25519.pub
[github]
user = njhale
[color]
ui = auto
[core]
safecrlf = true
excludesfile = /Users/nick/.dotfiles/.gitignore_global
[diff]
tool = nvimdiff
[difftool]
prompt = true
[difftool "nvimdiff"]
cmd = nvim -d $LOCAL $REMOTE
[merge]
tool = nvimdiff
[mergetool]
prompt = true
[mergetool "nvimdiff"]
cmd = nvim -d $BASE $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'
[pull]
ff = only
[alias]
dag = log --graph --abbrev-commit --decorate --format=format:'%C(blue)%h%C(reset) - %C(cyan)%aD%C(reset) %C(green)(%ar)%C(reset)%C(yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(white)- %an%C(reset)'
[url "[email protected]:"]
insteadOf = https://github.com/
[init]
defaultBranch = main
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[gpg]
format = ssh
[commit]
gpgsign = true
[gpg "ssh"]
allowedSignersFile = /Users/nick/.ssh/allowed_signers
[fetch]
prune = true