From ebf747e2145f208b52c09c8060098984530d57db Mon Sep 17 00:00:00 2001 From: Adrien Abraham Date: Wed, 7 Sep 2022 12:19:18 +0200 Subject: [PATCH] git-config-user: show current config --- git-config-user.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/git-config-user.sh b/git-config-user.sh index 52c5916..7ac0e9a 100755 --- a/git-config-user.sh +++ b/git-config-user.sh @@ -1,5 +1,7 @@ #!/bin/bash # Quickly setup user name and email. +echo "Current name: $(git config user.name)" +echo "Current email: $(git config user.email)" read -p "User name: " name git config user.name "$name" read -p "User email: " email