Skip to content

Commit

Permalink
Add a script for refreshing Git repositories
Browse files Browse the repository at this point in the history
  • Loading branch information
AgenttiX committed Dec 22, 2023
1 parent 40711d0 commit d64b71d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Update-Repos.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<#
.SYNOPSIS
Refresh Git repositories
#>

$Repos = Get-ChildItem -Directory ((Get-Item "${PSScriptRoot}").Parent.FullName)

foreach ($Repo in $Repos) {
Set-Location $Repo.FullName
git pull
}

0 comments on commit d64b71d

Please sign in to comment.