Repos
Manages git repos inside a directory.
Install
pip install repos
Usage
Inside a directory with several git repos run:
$ repos
Repos in /Users/hello/repos
STATUS NAME BRANCH
──────────────── ──────────────────────────── ──────────
• • 1↑ • • this-is-a-ahead-repo master
• 1↓ • • • this-is-a-behind-repo master
• • • • • this-is-a-clean-repo master
this-is-a-directory/
1± ⚑ • • this-is-a-dirty-repo master
• ⚑ • this-repo-has-no-remotes master
• • • • 3 this-repo-has-three-branches branch-3
• • • 2 • this-repo-has-two-remotes master
1 directories
1 without a remote ⚑
1 without upstream ⚑
1 changed
1 behind
1 ahead
4 clean
To check all available commands:
$ repos help
NAME
repos — Manages your git repos
USAGE
repos # Lists all repos in text format
repos export --json # Exports all repos as json
repos export --yaml # Exports all repos as yaml
repos show REPO # Shows the repo details
repos save # Commits local changes
repos push # Pushes up to the upstream
repos pull # Pulls from the upstream
repos sync # Pull from the upstream and pushes up
repos help # Shows this help
repos version # Prints the current version
Todos
-
Code the
repos add <url>subcommand to clone a git repo from an url. -
Code the
repos install [file]subcommand to clone git repos from a file, by defaultrepos.yaml. -
Code the
repos config [repo] [key] [value]subcommand to storegit config repos.*in./.git/configfile. -
Code the
repos save [repo] [--yes]subcommand to commit all changes (obeys therepo.save = always | never | askgit config). -
Code the
repos push [repo] [--yes]subcommand to send all commits to the upstream (obeys therepo.push = always | never | askgit config). -
Code the
repos pull [repo] [--yes]subcommand to pull all the latest commits from the upstream (obeys therepo.pull = always | never | askgit config). -
Code the
repos sync [repo] [--yes]subcommand to commits all changes, pull the latest commits, and push local commits to the upstream (obeys therepo.sync = always | never | askgit config). -
Code the
repos.enabledgit config to turn off all otherrepos.*configs.
Metadata
Release files for repos 0.1.16
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| repos-0.1.16.tar.gz | 10.9 kB | Details |
Release files / repos-0.1.16.tar.gz
| Download URL | repos-0.1.16.tar.gz |
|---|---|
| Size | 10.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7c011168112afa4c0bdd1a46137fb30e0c65eb29e04ac7e5c695b4b752777b77
|
|
BLAKE2b-256 checksum How to use checksums |
ecc0bbd99bb09ca25f9531117a440b56ea415df681a6f82c0f06bb7b29c8250e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|