mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-29 13:14:49 +02:00
Update pull-repos.ps1
This commit is contained in:
parent
7ecccd8305
commit
fe85c41e09
@ -29,7 +29,7 @@ try {
|
|||||||
[int]$Step = 1
|
[int]$Step = 1
|
||||||
foreach ($Folder in $Folders) {
|
foreach ($Folder in $Folders) {
|
||||||
$FolderName = (get-item "$Folder").Name
|
$FolderName = (get-item "$Folder").Name
|
||||||
"Step $Step/$($FolderCount): 🢃 Pulling 📂$FolderName..."
|
"👉 Step $Step/$($FolderCount): Pulling 📂$FolderName..."
|
||||||
|
|
||||||
& git -C "$Folder" pull --recurse-submodules --jobs=4
|
& git -C "$Folder" pull --recurse-submodules --jobs=4
|
||||||
if ($lastExitCode -ne "0") { write-warning "'git pull' on 📂$FolderName failed" }
|
if ($lastExitCode -ne "0") { write-warning "'git pull' on 📂$FolderName failed" }
|
||||||
|
Loading…
Reference in New Issue
Block a user