Update fetch-repos.ps1

This commit is contained in:
Markus Fleschutz 2022-11-21 11:30:21 +01:00
parent 36e1c163ab
commit 26c750bd05

View File

@ -33,7 +33,7 @@ try {
foreach ($Folder in $Folders) {
$FolderName = (Get-Item "$Folder").Name
$Step++
Write-Host "⏳ ($Step/$($NumFolders + 2)) Fetching into 📂$FolderName... " -noNewline
Write-Host "⏳ ($Step/$($NumFolders + 2)) Fetching into 📂$FolderName... "
& git -C "$Folder" fetch --all --recurse-submodules --prune --prune-tags --force
if ($lastExitCode -ne "0") { throw "'git fetch' in $Folder failed with exit code $lastExitCode" }