diff --git a/scripts/setup-ai-workspace-all-in-one.sh b/scripts/setup-ai-workspace-all-in-one.sh index d47ee3b..e01e108 100755 --- a/scripts/setup-ai-workspace-all-in-one.sh +++ b/scripts/setup-ai-workspace-all-in-one.sh @@ -97,6 +97,10 @@ mask_secret() { fi } +if command -v git >/dev/null 2>&1; then + git config --global --add safe.directory '*' || true +fi + detect_os() { case "$(uname -s)" in Darwin) echo "darwin" ;;