Updated the manuals

This commit is contained in:
Markus Fleschutz
2025-05-12 22:04:02 +02:00
parent b3cdf19f4a
commit 09eb3d1808
651 changed files with 8362 additions and 1405 deletions

View File

@@ -15,6 +15,7 @@ Parameters
Position? 1
Default value "$PWD"
Accept pipeline input? false
Aliases
Accept wildcard characters? false
-searchPattern <String>
@@ -24,6 +25,7 @@ Parameters
Position? 2
Default value *
Accept pipeline input? false
Aliases
Accept wildcard characters? false
[<CommonParameters>]
@@ -82,13 +84,13 @@ try {
if (-not(Test-Path "$pathToRepo" -pathType container)) { throw "Can't access repo folder '$pathToRepo' - maybe a typo or missing folder permissions?" }
$null = (git --version)
if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" }
if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" }
& git -C "$pathToRepo" fetch
if ($lastExitCode -ne "0") { throw "'git fetch' failed" }
if ($lastExitCode -ne 0) { throw "'git fetch' failed" }
$branches = $(git -C "$pathToRepo" branch --list --remotes --no-color --no-column)
if ($lastExitCode -ne "0") { throw "'git branch --list' failed" }
if ($lastExitCode -ne 0) { throw "'git branch --list' failed" }
""
"List of Git Branches"
@@ -107,4 +109,4 @@ try {
}
```
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)*
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)*