This is a simple script that "synchronizes" all your git-repos in a given folder with the remote repo.
It uses Shell-scripting to loop through your folders, and the branches of the repos in those folder, and performs git-commands to "synchronize" your local repo with your remote repo.
git clone https://github.com/Cengelsen/gitrell.git
.- Copy the file to a folder of repos.
- Make sure it's an executable,
chmod +x gitrell.sh
. - Run the script.
- Sit back and enjoy :)
There are scenarios described in the file that are currently not accounted for. Use at your own risk!