Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 1.16 KB

README.md

File metadata and controls

27 lines (15 loc) · 1.16 KB

github-backup

github-backup creates mirrors of all of a user's repositories and all repositories to which a user has access via team membership in an organization.

help

documentation for all flags can be seen with

github-backup -help

first use

Create an access token for GitHub and then run

github-backup -token ACCESS_TOKEN -cache /path/to/cache/file -to /mirror/base/path

use a cached token

github-backup will use the cached token (-cache cache.json) when run without the -token flag.

github-backup -cache /path/to/cache/file -to /mirror/base/path

Credits