ensure to git reset checkout on all submodules as well

This commit is contained in:
Nacho Codoñer
2024-07-30 16:06:23 +02:00
parent 0ff7948fe2
commit fdb9bcce16

View File

@@ -9,6 +9,7 @@ $meteorBat = Join-Path $dirCheckout 'meteor.bat'
Write-Host "Resetting git checkout..." -ForegroundColor Magenta
& git.exe -C "$dirCheckout" reset --hard
& git.exe -C "$dirCheckout" submodule foreach --recursive 'git reset --hard'
Write-Host "Updating submodules recursively..." -ForegroundColor Magenta
# Appveyor suggests -q flag for 'git submodule...' https://goo.gl/4TFAHm