diff --git a/setup.sh b/setup.sh index 75e3ff6..cc83b95 100755 --- a/setup.sh +++ b/setup.sh @@ -167,7 +167,7 @@ echo -e "${BLUE} LOG:${YELLOW} Configuring Git Credentials...${NC}" if grep -qEi "(Microsoft|WSL)" /proc/version &> /dev/null; then GCM_WIN="/mnt/c/Program Files/Git/mingw64/bin/git-credential-manager.exe" if [ -f "$GCM_WIN" ]; then - git config --global credential.helper "\"$GCM_WIN\"" + git config --global credential.helper "! \"$GCM_WIN\"" fi else # Linux Server: Cache credentials for 12 hour