Skip to content

Instantly share code, notes, and snippets.

@clhuang224
clhuang224 / wspt.ps1
Last active October 27, 2025 14:41
Script to clone multiple repos, remove assets, and create zip files
$originalLocation = Get-Location
$baseUrl = "https://example@xxx.com/_git/"
$workspaceDir = Join-Path $originalLocation.Path "temp"
Clear-Host
Write-Host "Please input <Repo name>|<Branch name>[, ...]" -ForegroundColor Yellow
$userInput = Read-Host "->"
$projects = @()