Keep a local mirror of all public GitHub repositories
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2017-11-15 07:17:05 +01:00
.gitignore Add options to run garbage collection and ignore repos (#1) 2017-01-02 23:43:56 +01:00
clonehub Add options to run garbage collection and ignore repos (#1) 2017-01-02 23:43:56 +01:00
git.py Add options to run garbage collection and ignore repos (#1) 2017-01-02 23:43:56 +01:00
github.py Raw string 2017-11-15 07:17:05 +01:00
LICENSE Copyright 2016-07-28 22:56:36 +02:00
README.md Installation instructions 2012-11-17 00:32:45 +01:00
setup.py Add Python setup script. 2012-11-11 15:59:36 +01:00

clonehub

Keep a local mirror of all your (or someone elses) public GitHub repositories.

Install

sudo pip install clonehub

Usage

Hop into the destination directory, run clonehub while passing it one or more user names as parameters. All public repositories belonging to those users will be cloned, or fetched if they already exit.

jb@zlogin:~ % cd /srv/bk/GitHub 
jb@zlogin:/srv/bk/GitHub % clonehub calmh nymnetworks
Backing up calmh
 . Fetching Aggregator.git
 . Fetching beets.git
 + Cloning https://github.com/calmh/clonehub.git
 . Fetching ClusteredPoller.git
 . Fetching facter.git
...

Cron it, and live happily everafter.

License

MIT