# git-bak

> Easy way to backup your repos

Latest version **0.0.4** (published 2017-03-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install git-bak
pnpm add git-bak
yarn add git-bak
bun add git-bak
```

Provides the commands `gbk`, `git-bak`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2017-03-08 |
| First published | 2017-03-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 7.6.0 |
| Dependencies | 8 |
| Known vulnerabilities | 0 (+26 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | zcong1993 |
| Maintainers | zcong |

## Links

- npm: https://www.npmjs.com/package/git-bak
- Repository: https://github.com/zcong1993/git-bak
- Homepage: https://github.com/zcong1993/git-bak#readme
- Issues: https://github.com/zcong1993/git-bak/issues
- npm.io page: https://npm.io/package/git-bak

## Dependencies (8)

- [ora](https://npm.io/package/ora.md) ^1.1.0
- [meow](https://npm.io/package/meow.md) ^3.7.0
- [axios](https://npm.io/package/axios.md) ^0.15.3
- [chalk](https://npm.io/package/chalk.md) ^1.1.3
- [git-config-path](https://npm.io/package/git-config-path.md) ^1.0.1
- [update-notifier](https://npm.io/package/update-notifier.md) ^2.1.0
- [parse-git-config](https://npm.io/package/parse-git-config.md) ^1.1.1
- [download-git-repo](https://npm.io/package/download-git-repo.md) ^0.2.1

## Recent versions

- 0.0.4 (latest) — 2017-03-08
- 0.0.3 — 2017-03-08
- 0.0.2 — 2017-03-07
- 0.0.1 — 2017-03-07

## README

# git-bak

[![NPM version](https://img.shields.io/npm/v/git-bak.svg?style=flat)](https://npmjs.com/package/git-bak) [![NPM downloads](https://img.shields.io/npm/dm/git-bak.svg?style=flat)](https://npmjs.com/package/git-bak) [![Build Status](https://img.shields.io/circleci/project/zcong1993/git-bak/master.svg?style=flat)](https://circleci.com/gh/zcong1993/git-bak)

> Easy way to backup your repos

## Install

```bash
$ yarn global add git-bak
```

## Usage

```bash
$ git-bak <username> [options]
# or use alias `gbk`
# example, backup all your repos
$ git-bak zcong1993 --dest bakfolder --all
```

## Input

### username
type: string

default: the git username in your git global config

the github username you want to backup

## Options

### --dest
type: string, **required**

default: null

the folder you want to backup repos to

### --all
type: bool

default: false

if backup all repos of the user

### --skip-fork
type: bool

default: false

if skip the repos forked from other

### --page
type: number

default: 2

the page arg for github api

### --per-page
type: number

default: 1

the per_page arg for github api

## Contributing

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D


## Author

**git-bak** © [zcong1993](https://github.com/zcong1993), Released under the [MIT](./LICENSE) License.<br>
Authored and maintained by zcong1993 with help from contributors ([list](https://github.com/zcong1993/git-bak/contributors)).

> [github.com/zcong1993](https://github.com/zcong1993) · GitHub [@zcong1993](https://github.com/zcong1993)

---
_Source: https://npm.io/package/git-bak · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
