A wrapper for the awesome myrepos tool that makes pulling your Git repositories even easier.
- Works from any directory. You don't have to
cdto your$HOMEdirectory to use it. - Usage is simple and easy. You don't have to
mr registeryour repositories one by one, just typepull. - Parallel by default. You don't have to explicitly tell it to use multiprocessing.
- Install myrepos
- Run
# 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/ -sJust 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"
]
}