An open API service indexing awesome lists of open source software.

https://github.com/maowug/backup-gists

Backup gists for both github.com and github enterprise.
https://github.com/maowug/backup-gists

backup backup-gists gists github-enterprise

Last synced: 5 months ago
JSON representation

Backup gists for both github.com and github enterprise.

Awesome Lists containing this project

README

        

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