repos.py is a python script for managing my local git repositories.
Config is stored in ~/.repos.json Which looks something like:
{ "projects": [ { "local": "Documents/repos", "provider": "git", "remote": "[email protected]:tims/repos.git" } ] }
This just does a git pull on every git repo:
repos.py update
List all the repositories being managed:
repos.py ls
Just clone it to some dir then change to that directory and:
repos.py add .
To remove a repository from the repos config, change to it's directory and:
repos.py drop .
The repository is not deleted from disk.
Create repositories that are in your .repos.json but not yet cloned locally:
repos.py create
Run git status on each repo:
repos.py status