dotfiles/git/gitconfig

68 lines
1.4 KiB
Text
Raw Normal View History

2019-07-23 11:13:10 +00:00
[user]
2020-07-16 07:12:07 +00:00
useConfigOnly = true
[user "changeme"]
2019-07-23 11:13:10 +00:00
name = changeme
2020-07-16 07:12:07 +00:00
email = changeme
signingkey = changeme
2021-01-13 07:54:31 +00:00
[user "private"]
name = Michael Mandl
email = mandlm@molez.net
signingkey = 4AA25D647AA54CC7
[user "swp"]
name = Michael Mandl
email = mandl@vi-bim.de
signingkey = 4E60F44227F611B4
2020-07-16 07:12:07 +00:00
[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
2019-07-23 11:13:10 +00:00
[push]
default = simple
[core]
editor = vim
editor = nvim
2022-02-21 14:22:07 +00:00
pager = less -x1,5 -F -M -R -J
2019-07-23 11:13:10 +00:00
whitespace = cr-at-eol
2020-05-24 10:56:23 +00:00
excludesfile = ~/.gitignore
2019-07-23 11:13:10 +00:00
[rebase]
autostash = true
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = 64
whitespace = red reverse
2022-02-21 14:22:47 +00:00
[merge]
tool = fugitive
2019-07-23 11:13:10 +00:00
[mergetool]
keepBackup = false
2020-05-24 10:57:45 +00:00
prompt = false
2022-02-21 14:22:47 +00:00
[mergetool "fugitive"]
cmd = nvim -f -c \"Gdiffsplit!\" \"$MERGED\"
2019-07-23 11:13:10 +00:00
[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]
2020-07-03 06:38:17 +00:00
pretty = format:%C(yellow)%h %Cblue%>(12)%ad %C(red)%G? %Cgreen%<(7,trunc)%aN%Cred%d %Creset%s
2019-10-03 10:56:06 +00:00
[rerere]
enabled = true
[fetch]
writeCommitGraph = true
2020-06-24 06:15:14 +00:00
[pull]
rebase = true
2021-07-19 09:33:34 +00:00
[init]
defaultBranch = main
2022-04-02 08:48:38 +00:00
[worktree]
guessRemote = true