Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.28 KB

README.md

File metadata and controls

31 lines (22 loc) · 1.28 KB

repo-copy

npm (scoped) npm Build Status Coverage Status npm

Git repository copy/compressor.

The idea of this small tool is to make quick copies of a git repository. Honoring the .gitignore file and supporting compression.

Could be used to move repositories to another directory or computer, even when there are no staged/commited changes.

Usage

Usage: repo-copy [options] <repo path ...>

  Options:

    -h, --help        output usage information
    -V, --version     output the version number
    -c, --copy        Copy repository
    -k, --compress    Compress repository
    -t, --gzip        Use tar and gzip to create the compressed file
    -z, --zip         Use zip to create the compressed file
    -o, --out [stat]  Output (repo.tar.gz or copyFolder/)