https://github.com/utkuufuk/oh-my-repos
A wrapper for "myrepos" that makes pulling multiple git repositories even easier.
https://github.com/utkuufuk/oh-my-repos
command-line command-line-tool commandline git git-tool git-tools vcs-tools
Last synced: 7 months ago
JSON representation
A wrapper for "myrepos" that makes pulling multiple git repositories even easier.
- Host: GitHub
- URL: https://github.com/utkuufuk/oh-my-repos
- Owner: utkuufuk
- License: gpl-3.0
- Created: 2018-12-13T14:29:35.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-29T08:41:48.000Z (over 6 years ago)
- Last Synced: 2025-03-26T21:23:07.743Z (8 months ago)
- Topics: command-line, command-line-tool, commandline, git, git-tool, git-tools, vcs-tools
- Language: Python
- Homepage:
- Size: 39.1 KB
- Stars: 17
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Oh My Repos
A wrapper for the awesome [myrepos](https://myrepos.branchable.com/) tool that makes pulling your Git repositories even easier.
## Features
* **Works from any directory.** You don't have to `cd` to your `$HOME` directory to use it.
* **Usage is simple and easy.** You don't have to `mr register` your repositories one by one, just type `pull.`
* **Parallel by default.** You don't have to explicitly tell it to use multiprocessing.
## Setting Up
1. [Install myrepos](https://myrepos.branchable.com/install/)
2. Run
``` sh
# normal installation
pip3 install .
```
``` sh
# development mode installation
pip install -e .
```
#### Uninstall
```
./uninstall.sh
```
## Usage
``` 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
```
## Configuration
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:
``` json
{
"dirs": [
"/path/to/your/repos",
"/path/to/your/other/repos"
]
}
```