2019-10-26 20:05:31 +03:00
|
|
|
[user]
|
2021-07-16 11:28:57 +03:00
|
|
|
{%@@ if profile == "mko-laptop" @@%}
|
|
|
|
email = marko.korhonen@rossum.fi
|
|
|
|
{%@@ else @@%}
|
2020-11-25 10:19:18 +02:00
|
|
|
email = marko@korhonen.cc
|
2021-07-16 11:28:57 +03:00
|
|
|
{%@@ endif @@%}
|
2019-10-26 20:05:31 +03:00
|
|
|
name = Marko Korhonen
|
2022-08-28 19:28:03 +03:00
|
|
|
signingkey = F2B9F713E7ED627336DD85E444FA3F28CD931BB0
|
2020-01-21 19:19:44 +02:00
|
|
|
|
2019-10-26 20:05:31 +03:00
|
|
|
[commit]
|
|
|
|
signoff = true
|
|
|
|
gpgsign = true
|
2020-06-27 11:07:51 +03:00
|
|
|
|
2020-01-21 17:32:35 +02:00
|
|
|
[tag]
|
|
|
|
gpgSign = true
|
|
|
|
signoff = true
|
2020-06-27 11:07:51 +03:00
|
|
|
|
2020-01-21 19:19:44 +02:00
|
|
|
[format]
|
|
|
|
signoff = true
|
|
|
|
|
|
|
|
[merge]
|
|
|
|
prompt = false
|
|
|
|
tool = nvim-merge
|
2021-08-17 17:43:30 +03:00
|
|
|
|
2020-01-21 19:19:44 +02:00
|
|
|
[mergetool "nvim-merge"]
|
|
|
|
cmd = nvim -d $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'
|
2021-11-30 16:56:15 +02:00
|
|
|
keepBackup = false
|
2020-01-21 19:19:44 +02:00
|
|
|
|
|
|
|
[diff]
|
|
|
|
prompt = false
|
|
|
|
tool = nvim-diff
|
2020-06-27 11:07:51 +03:00
|
|
|
|
2020-01-21 19:19:44 +02:00
|
|
|
[difftool "nvim-diff"]
|
2022-08-23 22:15:18 +03:00
|
|
|
cmd = nvim -d $LOCAL $REMOTE
|
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-11-02 10:20:28 +02:00
|
|
|
mergetest = !git switch test && git pull && git merge --no-ff -m \"Merge $1 features to test\" $1
|
2022-04-26 13:45:16 +03:00
|
|
|
upstream = !git push -u origin HEAD
|
2022-06-09 10:29:43 +03:00
|
|
|
sync = !git pull && git push
|
2021-08-17 17:43:30 +03:00
|
|
|
|
|
|
|
[color]
|
|
|
|
pager = no
|
2022-06-11 23:33:21 +03:00
|
|
|
|
|
|
|
[init]
|
|
|
|
defaultBranch = main
|
2022-09-06 11:38:00 +03:00
|
|
|
|
|
|
|
[credential]
|
|
|
|
helper = cache --timeout=600
|
|
|
|
helper = !pass-git-helper $@
|