使用CLI在Gitlab中创建一个仓库 [英] Create a repo in Gitlab using CLI
本文介绍了使用CLI在Gitlab中创建一个仓库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们在办公室设置了gitlab
,每周大约有100-150个项目可以在那创建,而Admin希望保持创建仓库和分配团队的控制权,任何人每周都要创建这么多存储库的工作量很大.
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.
有没有办法 create repo on Gitlab using CLI
-我不在乎是否必须使用ssh
.
推荐答案
您可以使用 gitlab-cli 并使用Shell脚本自动执行该过程.我已经在gitlab 5.x中使用了它,但是根据站点的介绍,它可能无法在gitlab 6中使用.
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.
这篇关于使用CLI在Gitlab中创建一个仓库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文