mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-21 17:38:19 +02:00
Update fetch-repo.ps1
This commit is contained in:
parent
9d4b5a7b18
commit
6fdea381c3
@ -17,8 +17,8 @@ try {
|
|||||||
& git --version
|
& git --version
|
||||||
if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" }
|
if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" }
|
||||||
|
|
||||||
& git fetch --recurse-submodules
|
& git fetch --all --recurse-submodules
|
||||||
if ($lastExitCode -ne "0") { throw "'git fetch --recurse-submodules' failed" }
|
if ($lastExitCode -ne "0") { throw "'git fetch --all --recurse-submodules' failed" }
|
||||||
|
|
||||||
& git status
|
& git status
|
||||||
if ($lastExitCode -ne "0") { throw "'git status' failed" }
|
if ($lastExitCode -ne "0") { throw "'git status' failed" }
|
||||||
|
Loading…
Reference in New Issue
Block a user