The Update Repo Tool is a command-line utility designed to simplify the process of updating multiple Git repositories in one go. It recursively searches for Git repositories within a specified directory and performs a git pull
operation on each repository, keeping them up to date.
- Search for Git repositories recursively in a specified directory.
- Display progress while updating repositories.
- Customizable Git binary path.
- Caches the location of the git repositories so that it can run faster, unless the cache has been cleared.
- Color-coded output for better visibility.
-
Clone this repository:
git clone https://github.com/sumanrox/updatemyrepos.git
-
Run the following command
cd updatemyrepos && chmod +x install.sh && ./install.sh
updatemyrepos $HOME/Projects
Prompts for authentication on some repos, just enter blank credential to proceed, I am unable to suppress them for now.