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.
- Host: GitHub
- URL: https://github.com/maowug/backup-gists
- Owner: maowug
- Created: 2016-03-24T07:16:42.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-19T14:01:40.000Z (about 8 years ago)
- Last Synced: 2024-11-22T03:06:08.741Z (5 months ago)
- Topics: backup, backup-gists, gists, github-enterprise
- Language: JavaScript
- Size: 2.93 KB
- Stars: 12
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - maowug/backup-gists - Backup gists for both github.com and github enterprise. (JavaScript)
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