Add git aliases

This commit is contained in:
Marko Korhonen 2024-08-15 09:11:45 +03:00
parent 4046ef4e48
commit b2a6de7ebc
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890

View file

@ -1,9 +1,5 @@
[user]
{%@@ if profile == "mko-laptop" @@%}
email = marko.korhonen@rossum.fi
{%@@ else @@%}
email = marko@korhonen.cc
{%@@ endif @@%}
name = Marko Korhonen
signingkey = F2B9F713E7ED627336DD85E444FA3F28CD931BB0
@ -38,6 +34,10 @@ mergetest = !git switch test && git pull && git merge --no-ff -m \"Merge $1 feat
upstream = !git push -u origin HEAD
sync = !git pull && git push
recommit = !git commit -eF $(git rev-parse --git-dir)/COMMIT_EDITMSG
pull-merge = pull --no-rebase --no-ff --no-edit
log-merge = log -i --grep=merge --pretty=oneline
log-fp = log --first-parent --pretty=oneline
ll = log --pretty=oneline
[color]
pager = no