Skip to content

Instantly share code, notes, and snippets.

@Mauzzz0
Created January 28, 2022 09:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mauzzz0/ecb77edd47eaaa317c685e4fea6d0943 to your computer and use it in GitHub Desktop.
Save Mauzzz0/ecb77edd47eaaa317c685e4fea6d0943 to your computer and use it in GitHub Desktop.
download all repos in gitlab group
for repo in $(curl -s --header "PRIVATE-TOKEN: *PRIVATE_TOKEN_FROM_GITLAB*" https://*HOST*/api/v4/groups/*GROUPID* | jq ".projects[].ssh_url_to_repo" | tr -d '"'); do git clone $repo; done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment