Manages git repos inside a directory
Project description
Git repos
Manages git repos inside a directory.
Install
pip install git-repos
Usage
Inside a directory with several git repos run:
repos
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/config
file. -
Code the
repos save [repo] [--yes]
subcommand to commit all changes (obeys therepo.save = always | never | ask
git config). -
Code the
repos push [repo] [--yes]
subcommand to send all commits to the upstream (obeys therepo.push = always | never | ask
git config). -
Code the
repos pull [repo] [--yes]
subcommand to pull all the latest commits from the upstream (obeys therepo.pull = always | never | ask
git 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 | ask
git config). -
Code the
repos.enabled
git config to turn off all otherrepos.*
configs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.