Update fetch-repo.ps1

This commit is contained in:
Markus Fleschutz 2021-03-10 15:15:50 +01:00 committed by GitHub
parent 9d4b5a7b18
commit 6fdea381c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,8 +17,8 @@ try {
& git --version
if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" }
& git fetch --recurse-submodules
if ($lastExitCode -ne "0") { throw "'git fetch --recurse-submodules' failed" }
& git fetch --all --recurse-submodules
if ($lastExitCode -ne "0") { throw "'git fetch --all --recurse-submodules' failed" }
& git status
if ($lastExitCode -ne "0") { throw "'git status' failed" }