Created
January 28, 2022 09:31
-
-
Save Mauzzz0/ecb77edd47eaaa317c685e4fea6d0943 to your computer and use it in GitHub Desktop.
download all repos in gitlab group
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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