From bc1bf26372293a67a69d27ad6771887c6c7f35fa Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Thu, 16 Jul 2020 09:12:07 +0200 Subject: [PATCH] Enabled git identities --- git/gitconfig | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/git/gitconfig b/git/gitconfig index 2c59027..15bfa52 100644 --- a/git/gitconfig +++ b/git/gitconfig @@ -1,6 +1,13 @@ [user] - email = changeme + useConfigOnly = true +[user "changeme"] name = changeme + email = changeme + signingkey = changeme +[alias] + identity = "! git config user.name \"$(git config user.$1.name)\"; git config user.email \"$(git config user.$1.email)\"; git config user.signingkey \"$(git config user.$1.signingkey)\"; :" +[commit] + gpgsign = true [push] default = simple [core] @@ -51,5 +58,3 @@ writeCommitGraph = true [pull] rebase = true -[commit] - gpgsign = true