A wrapper for "myrepos" that makes pulling multiple git repositories even easier.
GPL-3.0 License
A wrapper for the awesome myrepos tool that makes pulling your Git repositories even easier.
cd
to your $HOME
directory to use it.mr register
your repositories one by one, just type pull.
# normal installation
pip3 install .
# development mode installation
pip install -e .
./uninstall.sh
# Pulls all git repos in all dirs specified in ~/.ohmyrepos.json
pull
# Pulls all git repos in input dir in addition to all dirs specified in ~/.ohmyrepos.json
pull -d /path/to/other/repos/
# Same as above, except now it also adds input dir to saved dirs in ~/.ohmyrepos.json
pull -d /path/to/other/repos/ -s
Just after the first execution of a command with -s
(or --save
) flag, the configuration file .ohmyrepos.json
will be created inside your $HOME
directory.
You can always manually edit your saved directories from there:
{
"dirs": [
"/path/to/your/repos",
"/path/to/your/other/repos"
]
}