Skip to content

maowug/backup-gists

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

backup-gists

Backup gists for both github.com and github enterprise.

Installation

need node > 5.0 https://github.com/creationix/nvm

npm i

Quick Start

For github.com user, the following command will generate a backup-hh-mm-ss folder in current directory (Don't support two-factor authentication, disable it temporarily).

➜ node index.js -u [username] -p [password]
➜ Backup [====================] 100%

Github Enterprise version

For github enterprise version, append -d / --domain option to add your github enterprise domain's host. Let's say, your domain is http://github.o-in.bbc.com/ , just append -d github.o-in.bbc.com.

➜ node index.js -u [username] -p [password] -d [github_enterprise_domain]
➜ Backup [====================] 100%

License

MIT

About

Backup gists for both github.com and github enterprise.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published