From 7b37e78ca3b6538be0893a41c11f9f48909a9fcd Mon Sep 17 00:00:00 2001 From: lizw <1183409807@qq.com> Date: Sun, 30 Oct 2022 20:13:04 +0800 Subject: [PATCH] 07env-install-centos.sh --- 00base/07env-install-centos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/00base/07env-install-centos.sh b/00base/07env-install-centos.sh index 47edf2f..cd79f67 100644 --- a/00base/07env-install-centos.sh +++ b/00base/07env-install-centos.sh @@ -282,7 +282,7 @@ function init:git() { log::info "[git]" "git环境安装成功!" if [[ "${ADD_USER_TAG:-}" == "1" ]]; then command::exec "${host}" " - echo '${ADD_USER_PASSWORD}' | su - ${ADD_USER_NAME} -c git config --global credential.helper store + echo '${ADD_USER_PASSWORD}' | su - ${ADD_USER_NAME} -c \"git config --global credential.helper store\" " check::exit_code "$?" "git" "$host git配置" "exit" log::info "[git]" "git配置成功!"