maowug / backup-gists

Backup gists for both github.com and github enterprise.

Repository from Github https://github.commaowug/backup-gistsRepository from Github https://github.commaowug/backup-gists

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.


Languages

Language:JavaScript 100.0%