Updated the manuals

This commit is contained in:
Markus Fleschutz
2025-06-22 10:38:33 +02:00
parent df7368ff91
commit d8690419ea
661 changed files with 1512 additions and 966 deletions

View File

@ -29,7 +29,7 @@ Example
PS> ./pull-repos C:\MyRepos
(1) Searching for Git executable... git version 2.43.0
(2) Checking parent folder... 33 subfolders
(3/35) Pulling into 📂base256U...
(3/35) Pulling into 'base256U' repo...
...
```
@ -56,7 +56,7 @@ Script Content
PS> ./pull-repos C:\MyRepos
⏳ (1) Searching for Git executable... git version 2.43.0
⏳ (2) Checking parent folder... 33 subfolders
⏳ (3/35) Pulling into 📂base256U...
⏳ (3/35) Pulling into 'base256U' repo...
...
.LINK
https://github.com/fleschutz/PowerShell
@ -78,16 +78,16 @@ try {
$folders = (Get-ChildItem "$parentDir" -attributes Directory)
$numFolders = $folders.Count
$parentDirName = (Get-Item "$parentDir").Name
Write-Host "$numFolders subfolders"
Write-Host "$parentDir with $numFolders subfolders"
[int]$step = 3
[int]$numFailed = 0
foreach ($folder in $folders) {
$folderName = (Get-Item "$folder").Name
Write-Host "⏳ ($step/$($numFolders + 2)) Pulling into 📂$folderName...`t`t" -NoNewline
Write-Host "⏳ ($step/$($numFolders + 2)) Pulling into repo '$folderName'...`t`t" -NoNewline
& git -C "$folder" pull --recurse-submodules --jobs=4
if ($lastExitCode -ne 0) { $numFailed++; Write-Warning "'git pull' in 📂$folderName failed" }
if ($lastExitCode -ne 0) { $numFailed++; Write-Warning "'git pull' into 📂$folderName failed" }
& git -C "$folder" submodule update --init --recursive
if ($lastExitCode -ne 0) { $numFailed++; Write-Warning "'git submodule update' in 📂$folderName failed with exit code $lastExitCode" }
@ -107,4 +107,4 @@ try {
}
```
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)*
*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)*