From 5358838be57204afea4fe99278d6e2d3b8290462 Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Thu, 18 Aug 2022 00:09:48 +0200 Subject: [PATCH] fix(git): add alias and tag signing - sign tags by default - add `graph` alias Signed-off-by: Matej Focko --- playbooks/roles/git/templates/gitconfig.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/playbooks/roles/git/templates/gitconfig.j2 b/playbooks/roles/git/templates/gitconfig.j2 index 9fb16b3..f5c044b 100644 --- a/playbooks/roles/git/templates/gitconfig.j2 +++ b/playbooks/roles/git/templates/gitconfig.j2 @@ -1,5 +1,6 @@ [alias] scommit = commit --signoff + graph = log --oneline --decorate --graph --all [commit] gpgsign = true @@ -26,6 +27,9 @@ [rebase] autoStash = true +[tag] + gpgSign = true + [user] name = Matej Focko email = {{ git_email }}