To update all git repos in a folder you can use:
$ ./updateRepos.sh all
or
$ ./updateRepos.sh -a
To evaluate which repo update you can use:
$ ./updateRepos.sh each
or
$ ./updateRepos.sh -e
if you want to use the complete wizard, just use this:
$ ./updateRepos.sh
To install this script and use it anywhere in your system you may clone this repository
git clone https://github.com/devCharles/gitRepoUpdater.git
then cd into the new directory
$ cd gitRepoUpdater
now we must copy the 'updateRepos.sh' script to /usr/local/bin
$ sudo cp updateRepos.sh /usr/local/bin
and you can use the script by simply using
$ updateRepos.sh [flag]
- in order to use this script you may need to have the right permission level to execute the script