git-batch-cloner
v1.7.0
Published
Clone all repositories that you have permission to
Downloads
7
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"