Files
.dotfiles/.gitconfig

43 lines
1018 B
INI

[user]
name = Jacob Bohanon
email = jacob.bohanon@solo.io
signingkey = /home/jacob/.ssh/id_ed25519.pub
[url "ssh://git@github.com/"]
insteadOf = https://github.com/
[includeIf "gitdir:~/src/git.nonahob.net/"]
path = ~/.gitconfig-personal
[includeIf "gitdir:~/.dotfiles/"]
path = ~/.gitconfig-personal
[url "ssh://git@192.168.10.50: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