Updating Multiple Repos with one open source tool

Suman Roy
1 min readAug 22, 2023

--

Overview

The updatemyrepos 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.

updatemyrepos in action

As you can see in the image, all it takes is the root directory and it automatically finds all the git repository inside all subfolders, it does not matter how deep it goes.

Installation

Installation is very simple and straight forward, first you clone the repository of the tool and use the installation script, gcc is necessary for this step to work

# Product Link
https://github.com/sumanrox/updatemyrepos
# Command
git clone https://github.com/sumanrox/updatemyrepos.git && cd updatemyrepos

Usage

The tool takes a root directory as an argument only, searches the every subdirectory and updates only the git repos.

updatemyrepos $HOME/Projects

Uninstall

To uninstall, all you have to do is use the following command

sudo rm /usr/local/bin/updatemyrepos

Thanks for reading, if you like this tool please consider giving a star on github, that way I know I was able to help you 😄

Feel free to connect with me on Linkedin or Instagram, cheers 🍷

--

--

Suman Roy
Suman Roy

Written by Suman Roy

TryHackMe Top 1% | Cyber Security | Threat Hunting | Mobile Application Forensics | Infosec | Ex-Wipro

No responses yet