foodotfiles/home/.config/git/config

49 lines
792 B
Plaintext
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'
keepBackup = false
[diff]
prompt = false
tool = nvim-diff
2020-06-27 08:07:51 +00:00
[difftool "nvim-diff"]
2021-08-18 06:30:09 +00:00
cmd = nvim -d -R
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-11-02 08:20:28 +00:00
mergetest = !git switch test && git pull && git merge --no-ff -m \"Merge $1 features to test\" $1
2022-04-26 10:45:16 +00:00
upstream = !git push -u origin HEAD
2022-06-09 07:29:43 +00:00
sync = !git pull && git push
[color]
pager = no
[init]
defaultBranch = main