mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-27 18:33:19 +01:00
Update fetch-repo.ps1
This commit is contained in:
parent
9d4b5a7b18
commit
6fdea381c3
@ -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" }
|
||||
|
Loading…
Reference in New Issue
Block a user