diff --git a/git_config.sh b/git_config.sh index a838553..8ba0982 100755 --- a/git_config.sh +++ b/git_config.sh @@ -27,8 +27,8 @@ if [ "${location}" = "g" ];then echo "Setup Cancelled...re-run to start over" exit 0; else - git config --global user.email ${email} - git config --global user.name ${name} + git config --global user.email "${email}" + git config --global user.name "${name}" echo echo "Saved global config" exit 0; @@ -47,8 +47,8 @@ elif [ "${location}" = "l" ];then echo "Setup Cancelled...re-run to start over" exit 0; else - git config user.email ${email} - git config user.name ${name} + git config user.email "${email}" + git config user.name "${name}" echo echo "Saved local config" exit 0;