mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-09 05:04:39 +02:00
Update the scripts
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
|
||||
pull-repos.ps1 [<parent-dir>]
|
||||
.DESCRIPTION
|
||||
Pulls updates for all Git repositories under the current/given directory (including submodules)
|
||||
@ -29,7 +28,7 @@ try {
|
||||
[int]$Step = 1
|
||||
foreach ($Folder in $Folders) {
|
||||
$FolderName = (get-item "$Folder").Name
|
||||
"👉 Step $Step/$($FolderCount): Pulling 📂$FolderName..."
|
||||
"⏳ Step $Step/$($FolderCount): Pulling 📂$FolderName..."
|
||||
|
||||
& git -C "$Folder" pull --recurse-submodules --jobs=4
|
||||
if ($lastExitCode -ne "0") { write-warning "'git pull' on 📂$FolderName failed" }
|
||||
|
Reference in New Issue
Block a user