Skip to content

Instantly share code, notes, and snippets.

View lianghuiyuan's full-sized avatar

LhY.mE lianghuiyuan

View GitHub Profile
@lianghuiyuan
lianghuiyuan / sync-gitlab-projects
Last active November 26, 2019 07:36 — forked from medusar/sync-gitlab-projects
Gitlab: Clone / Pull all projects in a group in gitlab(批量下载gitlab中的项目)
#!/usr/bin/env bash
# should install jq first, for mac:brew install jq
# Documentation
# https://docs.gitlab.com/ce/api/projects.html#list-projects
NAMESPACE="your group name in gitlab"
BASE_PATH="https://gitlab.example.com/"
PROJECT_SEARCH_PARAM=""