Skip to content

bhcleek/github-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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