Project

gitoc

0.0
No release in over a year
Manage git repositories in directory tree.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0
 Project Readme

Gem Version

Gitoc

GiTOC generates a table of contents from a local directory tree of git repositories. Use this GiTOC file to clone all your git repositories to a new location (computer) or run a command on all your repositories.

Installation

$ gem install gitoc

Usage

The local directory tree of your git repositories defaults to ~/git and the default GiTOC file path is set to ~/.gitoc.yaml. Use --base=DIRECTORY and --toc=GiTOC-FILE to overwrite these defaults.

First you have to generate a GiTOC file with

$ gitoc generate

Then you can run things on your local repositories

# Run git pull on all your repositories
$ gitoc pull

# Clone all git repositories to a new location using the same directory structure specified in your GiTOC file.

# ... to a new location on the same computer
$ gitoc clone --base=NEW-DIRECTORY

# ... to a new computer (copy/move your GiTOC file first)
$ gitoc clone

# Check your GiTOC file
$ gitoc check

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/gitoc.