Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

create a mirror of repositories in github

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Mirror gihub

What is this

This command line tool allows you to mirror repositories on github into your srever. You can choose the repositories by user/organization name.


Generate OAuth2 token (optional)

If you need to mirror private repositories, you have to generate an OAuth2 token to access them.



This command will generate your token and save it on ~/.mirror_github_token (default).

Execute mirroring

./mirror-github -d /path/to/mirror/directory user1 user2 ...

This command will clone all the repositories that are owned by user1 and user2.

Something went wrong with that request. Please try again.