Created
May 31, 2022 05:16
-
-
Save sofyan-ahmad/71a95d1055072abd1877c346affba916 to your computer and use it in GitHub Desktop.
Gitlab: Print all repos under a 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: YOUR_TOKEN" "https://gitlab.com/api/v4/groups/YOUR_GROUP?include_subgroups=true&per_page=100" | jq -r ".projects[].http_url_to_repo"); do echo $repo; done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment