From a5cf11c914008b021c15f42acc596013c5b925ac Mon Sep 17 00:00:00 2001 From: "flyingscorpio@pinebook-pro" Date: Sat, 15 Feb 2020 13:02:52 +0100 Subject: [PATCH] Set dynamic user and hostname to git config --- setup_cockpit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup_cockpit.sh b/setup_cockpit.sh index 09fc73c..9aefce7 100755 --- a/setup_cockpit.sh +++ b/setup_cockpit.sh @@ -39,7 +39,7 @@ sudo apt install keepass2 ############################# sudo apt install git -git config --global user.name "flying-scorpio" +git config --global user.name "$USER@$HOSTNAME" git config --global user.email "tfranken@protonmail.com" git config --global alias.ci "commit" git config --global alias.co "checkout"