mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-08 17:14:28 +01:00
Update pull-repo.ps1
This commit is contained in:
parent
971aa8c00f
commit
83b8598bae
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Pulls Git repository updates
|
||||
Pulls updates for a Git repo
|
||||
.DESCRIPTION
|
||||
This PowerShell script pulls updates for a local Git repository (including submodules).
|
||||
.PARAMETER RepoDir
|
||||
@ -37,7 +37,7 @@ try {
|
||||
|
||||
$RepoDirName = (Get-Item "$RepoDir").Name
|
||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
||||
"✔️ pulled updates for Git repository 📂$RepoDirName in $Elapsed sec"
|
||||
"✔️ pulled updates for repo 📂$RepoDirName in $Elapsed sec"
|
||||
|
||||
exit 0 # success
|
||||
} catch {
|
||||
|
Loading…
Reference in New Issue
Block a user