Forum Topic

Thanks for your participation and contribution.


Back to Useful References

Gitlab References

Post a reply
135 views
i90runner
i90runner

Clone all repos under the group

for repo in $(curl -s --header "PRIVATE-TOKEN: your_private_token" "https://<your-host>/api/v4/groups/<group_id>" | jq ".projects[].ssh_url_to_repo" | tr -d '"'); do git clone $repo; done;

List of repos in a group

curl -s --header "PRIVATE-TOKEN: your_private_token" "https://gitlab.i90runner.com/api/v4/groups/38" | jq ".projects[].ssh_url_to_repo" | tr -d '"'

Last updated

1-1 of 1

Reply to this discussion

You cannot edit posts or make replies: You should be logged in before you can post.