https://github.com/yudai/mirror-github
create a mirror of repositories in github
https://github.com/yudai/mirror-github
Last synced: 8 months ago
JSON representation
create a mirror of repositories in github
- Host: GitHub
- URL: https://github.com/yudai/mirror-github
- Owner: yudai
- Created: 2012-08-02T12:59:56.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2012-08-06T10:41:19.000Z (about 13 years ago)
- Last Synced: 2024-12-28T13:18:11.675Z (9 months ago)
- Language: Ruby
- Size: 93.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.
## Usage
### Generate OAuth2 token (optional)If you need to mirror private repositories, you have to generate an OAuth2 token to access them.
Run
./gen-mirror-github-token
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.