Files
.dotfiles/.gitconfig
2025-04-01 01:00:13 -04:00

39 lines
871 B
INI

[user]
name = Jacob Bohanon
email = jacobbohanon@gmail.com
signingkey = /home/jacob/.ssh/id_ed25519.pub
[url "ssh://git@github.com/"]
insteadOf = https://github.com/
[url "ssh://git@git.nonahob.net:30009/"]
insteadOf = https://git.nonahob.net/
[tag]
sort = version:refname
[init]
defaultBranch = main
[pull]
rebase = false
[color]
ui = auto
[gpg]
format = ssh
[commit]
gpgsign = true
[diff]
tool = nvimdiff
[difftool]
prompt = false
[difftool "nvimdiff"]
cmd = "nvim -d \"$LOCAL\" \"$REMOTE\""
[merge]
tool = nvimdiff
[mergetool]
prompt = true
[mergetool "nvimdiff"]
cmd = "nvim -d \"$LOCAL\" \"$REMOTE\" \"$MERGED\" -c 'wincmd w' -c 'wincmd J'"
[credential "https://github.com"]
helper =
helper = !/usr/bin/gh auth git-credential
[credential "https://gist.github.com"]
helper =
helper = !/usr/bin/gh auth git-credential