dotfiles/home/.gitconfig

43 lines
706 B
INI
Raw Normal View History

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