foodotfiles/home/.gitconfig

43 lines
706 B
INI
Raw Normal View History

[user]
2021-07-16 08:28:57 +00:00
{%@@ if profile == "mko-laptop" @@%}
email = marko.korhonen@rossum.fi
{%@@ else @@%}
email = marko@korhonen.cc
2021-07-16 08:28:57 +00:00
{%@@ endif @@%}
name = Marko Korhonen
signingkey = C514037F1EFF4FA6
[commit]
signoff = true
gpgsign = true
2020-06-27 08:07:51 +00:00
[tag]
gpgSign = true
signoff = true
2020-06-27 08:07:51 +00:00
[format]
signoff = true
[merge]
prompt = false
tool = nvim-merge
[mergetool "nvim-merge"]
cmd = nvim -d $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'
[diff]
prompt = false
tool = nvim-diff
2020-06-27 08:07:51 +00:00
[difftool "nvim-diff"]
cmd = nvim -d -c 'set nomodifiable'
2020-06-27 08:07:51 +00:00
[pull]
2021-05-18 06:03:12 +00:00
rebase = merges
2021-08-10 08:31:19 +00:00
[alias]
2021-08-12 06:37:45 +00:00
mergetest = !git switch test && git pull && git merge --no-ff -m \"Merge $1 features to test\" $1 && git push
[color]
pager = no