A PowerShell module to easily pull updates from multiple Git repositories at once.
Note: if you need a simple script to copy paste and run once in a directory instead take a look at this
- Recursively finds all Git repositories in a directory
- Pulls latest changes with clear visual feedback
- Provides detailed summary
- Safe error handling
- Windows PowerShell 5.1 or newer
- Git installed and in PATH
- Clone this repository or simply download it
- Run the installer:
as administrator to install for all users
as regular user to install only for current user
git clone https://github.com/ExiledEye/GitRepoUpdater cd GitRepoUpdater && powershell -ExecutionPolicy Bypass -File .\Install-GitRepoUpdater.ps1Or alternatively simply install it from PowerShell Gallery:
Install-Module -Name GitRepoUpdater- Pull the repo (ironic, don't you think?)
- Run the installer
cd GitRepoUpdater && git pull powershell -ExecutionPolicy Bypass -File .\Install-GitRepoUpdater.ps1Or alternatively simply update it from PowerShell Gallery:
Update-Module -Name GitRepoUpdater- Run the uninstaller
- Optionally also delete the local repo directory
cd GitRepoUpdater powershell -ExecutionPolicy Bypass -File .\Uninstall-GitRepoUpdater.ps1Or alternatively simply uninstall it using:
Remove-Module -Name GitRepoUpdatercd *directory with multiple repos* Sync-EveryRepo #Alias: serIf you encounter any problems or have suggestions, please open an issue.
This project is licensed under the MIT License.
See the LICENSE file for details.
