dotfiles/git/gitconfig

75 lines
1.6 KiB
Plaintext

[user]
useConfigOnly = true
[user "changeme"]
name = changeme
email = changeme
signingkey = changeme
[user "private"]
name = Michael Mandl
email = mandlm@molez.net
signingkey = 4AA25D647AA54CC7
[user "swp"]
name = Michael Mandl
email = mandl@vi-bim.de
signingkey = 4E60F44227F611B4
[alias]
identity = "! git config user.name \"$(git config user.$1.name)\"; git config user.email \"$(git config user.$1.email)\"; git config user.signingkey \"$(git config user.$1.signingkey)\"; :"
[commit]
gpgsign = true
[push]
default = simple
[core]
editor = vim
pager = less -x1,5
editor = nvim
pager = less -S -x1,5
whitespace = cr-at-eol
excludesfile = ~/.gitignore
[rebase]
autostash = true
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = 64
whitespace = red reverse
[mergetool]
keepBackup = false
prompt = false
[diff]
tool = vimdiff
[difftool "vimdiff"]
cmd = nvim -d $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'
[mergetool "vimdiff"]
cmd = nvim -d $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'
[difftool]
prompt = false
[gitflow]
multi-hotfix = true
[gitflow "branch"]
master = master
develop = develop
[gitflow "prefix"]
feature = feature/
bugfix = bugfix/
release = release/
hotfix = hotfix/
support = support/
versiontag =
[log]
date = relative
[format]
pretty = format:%C(yellow)%h %Cblue%>(12)%ad %C(red)%G? %Cgreen%<(7,trunc)%aN%Cred%d %Creset%s
[merge]
tool = bc
[mergetool "nvim"]
cmd = nvim -f -c \"Gdiffsplit!\" \"$MERGED\"
[mergetool "bc"]
path = /mnt/c/Program Files/Beyond Compare 4/BComp.exe
[rerere]
enabled = true
[fetch]
writeCommitGraph = true
[pull]
rebase = true