Saturday, July 23, 2022

[SOLVED] Create a repo in Gitlab using CLI

Issue

We have a gitlab setup at our office, and we have somewhat around 100-150 project each week to create over there, while Admin wants to keep the control of creating repos and assigning teams to it, it seems quite a bit of task for anyone to create that many repos every week.

Is there a way to create repo on Gitlab using CLI - I won't mind if i have to use ssh for it.


Solution

You can use gitlab-cli and automate the process using a shell script. I've used this in gitlab 5.x, but according to the site it might not work with gitlab 6.



Answered By - thameera
Answer Checked By - Marie Seifert (WPSolving Admin)