git-batch-cloner

Clone all repositories that you have permission to

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
git-batch-cloner
201.7.07 months ago9 months agoMinified + gzip package size for git-batch-cloner in KB

Readme

git-batch-cloner
Clone all repositories that you have permission to

Install

Using npm:
npm install git-batch-cloner -g

Using yarn:
yarn global add git-batch-cloner

Usage

Gitlab

gitlab-cloner --url=https://gitlab-url --token="your person token" --output="./repo"
# Specify the configuration file
gitlab-cloner --config=./.gitlab.env

Using dotenv parameters

# .env file
URL=https://gitlab-url
TOKEN=your person token
OUTPUT=clone target dir

# If there are multiple clones that need to be cloned
# gitlab
GITLAB_URL=https://gitlab-url
GITLAB_TOKEN=your person token
GITLAB_OUTPUT=clone target dir
# special goup_id
GITLAB_GROUP_ID_LIST="190"