mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-05-10 10:34:54 +02:00
Update pull-repos.ps1
This commit is contained in:
parent
103dc88d4d
commit
7e2a1c41fd
@ -31,7 +31,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
|
||||||
"⏳ Pulling 📂$FolderName... [step $Step/$NumFolders]"
|
"⏳ Pulling 📂$FolderName [step $Step/$NumFolders]... "
|
||||||
|
|
||||||
& git -C "$Folder" pull --recurse-submodules --jobs=4
|
& git -C "$Folder" pull --recurse-submodules --jobs=4
|
||||||
if ($lastExitCode -ne "0") { write-warning "'git pull' in 📂$FolderName failed" }
|
if ($lastExitCode -ne "0") { write-warning "'git pull' in 📂$FolderName failed" }
|
||||||
|
Loading…
Reference in New Issue
Block a user