From 6972963363a06d603bc4f8625ca0abc3b918e761 Mon Sep 17 00:00:00 2001 From: Justin Scott Date: Fri, 25 Oct 2019 08:22:43 -0700 Subject: [PATCH] Disable git checkout advice in create_stack.sh (#244) This PR disables the git advice message seen for each component as its installed. Signed-off-by: Justin Scott --- clr-k8s-examples/create_stack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clr-k8s-examples/create_stack.sh b/clr-k8s-examples/create_stack.sh index 8f31993..4c2bfef 100755 --- a/clr-k8s-examples/create_stack.sh +++ b/clr-k8s-examples/create_stack.sh @@ -347,7 +347,7 @@ function set_repo_version() { pushd "$(pwd)" cd "${path}" git fetch origin "${ver}" - git checkout "${ver}" + git -c advice.detachedHead=false checkout "${ver}" popd }