Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 725 Bytes

readme.rst

File metadata and controls

29 lines (18 loc) · 725 Bytes

gh_mirror

The goal of the project is to simply mirror an organisations repositories. Using the github API it acquires the details of all organisation repositories and subsequently clones and or updates as required.

Token in the clear:

gh_mirror -o my_org -t OAUTH-TOKEN -d /data/gh_mirrors

Token less clear:

gh_mirror -o my_org -t `cat ~/gh_token` -d /data/gh_mirrors

Install

git clone https://github.com/zircote/gh_mirror.git
pushd gh_mirror
python setup.py install
popd
Bitdeli badge