mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-09 05:04:39 +02:00
Updated the manuals
This commit is contained in:
@ -7,7 +7,7 @@ NOTE: in case of merge conflicts the script stops immediately!
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
PS> ./pick-commit.ps1 [[-CommitID] <String>] [[-CommitMessage] <String>] [[-Branches] <String>] [[-RepoDir] <String>] [<CommonParameters>]
|
||||
/home/markus/Repos/PowerShell/scripts/pick-commit.ps1 [[-CommitID] <String>] [[-CommitMessage] <String>] [[-Branches] <String>] [[-RepoDir] <String>] [<CommonParameters>]
|
||||
|
||||
-CommitID <String>
|
||||
Specifies the commit ID
|
||||
@ -143,7 +143,7 @@ try {
|
||||
if ($lastExitCode -ne "0") { throw "'git push' failed" }
|
||||
}
|
||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
||||
"✔️ cherry picked $CommitID into $NumBranches branches in $Elapsed sec"
|
||||
"✅ cherry picked $CommitID into $NumBranches branches in $Elapsed sec"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
@ -151,4 +151,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of pick-commit.ps1 as of 08/15/2024 09:50:52)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of pick-commit.ps1 as of 11/08/2024 12:34:53)*
|
||||
|
Reference in New Issue
Block a user