git-clone-all-org
TypeScript icon, indicating that this package has built-in type declarations

1.2.23 • Public • Published

git-clone-all-org

Clone all organization branches from a Git Server.

Installation

Windows

npm install -g git-clone-all-org

Linux

sudo npm install -g git-clone-all-org

Usage

git-clone-all-org [options]

Options:
  --version   Show version number
  -o, --org   Organization       
  -u, --usr   Git username    
  -p, --pwd   Git password    
  -t, --token Git token (-u and -p parameters are useless)
  -d, --dest  Destination path (-d "c:\\temp")
  -c, --clean Clean destination path
  -l, --log   Generate log
  -z, --zip   Compress backup to <path> + <file>.7z/.tar.xz (if file is $ then use default filename.7z/.tar.xz)
  -y, --stype Server type (github, azure-devops)
  --settings  Settings file <config.json>
  -h          Show help          

Note:

  • Your GitHub token needs repo scope only.
  • git and 7z (only on Windows) need to be installed.

Samples (put in a file like config.json):

GITHUB

{ "stype": "github", "org": "MyOrg", "token": "...", "dest": "C:\Temp", "clean": true, "log": true, "zip": "C:\Temp\$" }

AZURE

{ "stype": "azure-devops", "org": "MyOrg", "token": "...", "dest": "C:\Temp", "clean": true, "log": true, "zip": "C:\Temp\$" }

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.2.231latest

Version History

VersionDownloads (Last 7 Days)Published
1.2.231
1.2.220
1.2.210
1.2.200
1.2.190
1.2.180
1.2.170
1.2.160
1.2.150
1.2.140
1.2.130
1.2.120
1.2.110
1.2.100
1.2.90
1.2.80
1.2.70
1.2.60
1.2.50
1.2.40
1.2.30
1.2.20
1.2.10
1.2.00
1.1.60
1.1.50
1.1.40
1.1.30
1.1.20
1.1.10
1.1.00
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i git-clone-all-org

Weekly Downloads

1

Version

1.2.23

License

MIT

Unpacked Size

33.7 kB

Total Files

17

Last publish

Collaborators

  • jsolisu