1.2.23 • Published 4 years ago

git-clone-all-org v1.2.23

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

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\$" }

1.2.23

4 years ago

1.2.22

5 years ago

1.2.21

5 years ago

1.2.20

5 years ago

1.2.19

5 years ago

1.2.18

5 years ago

1.2.17

5 years ago

1.2.16

5 years ago

1.2.15

5 years ago

1.2.14

5 years ago

1.2.13

5 years ago

1.2.12

5 years ago

1.2.11

5 years ago

1.2.10

5 years ago

1.2.9

5 years ago

1.2.8

5 years ago

1.2.7

5 years ago

1.2.6

5 years ago

1.2.5

5 years ago

1.2.4

5 years ago

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago