Easy way to backup your repos
$ yarn global add git-bak
$ git-bak <username> [options]
# or use alias `gbk`
# example, backup all your repos
$ git-bak zcong1993 --dest bakfolder --all
type: string
default: the git username in your git global config
the github username you want to backup
type: string, required
default: null
the folder you want to backup repos to
type: bool
default: false
if backup all repos of the user
type: bool
default: false
if skip the repos forked from other
type: number
default: 2
the page arg for github api
type: number
default: 1
the per_page arg for github api
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
git-bak © zcong1993, Released under the MIT License.
Authored and maintained by zcong1993 with help from contributors (list).
github.com/zcong1993 · GitHub @zcong1993