Skip to content
Clone all organization branches from GitHub
TypeScript JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
bin
src
.gitignore
.npmignore
.npmrc
.prettierrc
LICENSE
README.md
package.json
tsconfig.json
tslint.json

README.md

github-clone-all-org

Clone all organization branches from GitHub.

Installation

Windows

npm install -g github-clone-all-org

Linux

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

Usage

github-clone-all-org [options]

Options:
  --version   Show version number
  -o, --org   Organization       
  -u, --usr   GitHub username    
  -p, --pwd   GitHub password    
  -t, --token GitHub 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 (if file is $ then use default filename.7z)
  --settings  Settings file <config.json>
  -h          Show help          

Note:

  • Your GitHub token needs repo scope only.
  • git and 7z need to be installed.
You can’t perform that action at this time.