Quantcast
Channel: Create a repo in Gitlab using CLI - Stack Overflow
Browsing all 10 articles
Browse latest View live

Answer by Zaz for Create a repo in Gitlab using CLI

Add export GITLAB_API_TOKEN=______ to your .bashrc or relevant file, then run:curl --request POST -H "PRIVATE-TOKEN: ${GITLAB_API_TOKEN}" \ -H "Content-Type:application/json"...

View Article


Answer by roneo.org for Create a repo in Gitlab using CLI

See glab and the command glab repo createQuoting the doc:# create a repository under your account using the current directory name$ glab repo create# create a repository with a specific name$ glab repo...

View Article

Answer by Shahid Kamal for Create a repo in Gitlab using CLI

Now gitlab support creating new repo just by giving a URL. If your gitlab username is shahidcodes then you can just do below steps -git init # init a repo if you don't have alreadygit remote add origin...

View Article

Answer by Asclepius for Create a repo in Gitlab using CLI

In comparison with the prior answers by ChillarAnand and eigenfield, although this answer too uses the REST API with curl, it also:authorizes against GitLab by providing the token in the header, not in...

View Article

Image may be NSFW.
Clik here to view.

Answer by СашаЧерных for Create a repo in Gitlab using CLI

1. SummaryEasy to use:labgitlab-cli2. DisclaimerThis answer is relevant for August 2019. In the future, its data may be outdated.3. lab (recommended)3.1. Aboutlab — CLI tool, making it simple some...

View Article


Answer by daparic for Create a repo in Gitlab using CLI

Here is what I have in my ~/.bashrcgitlify() { [ $# -eq 0 ] && return 1 repo_name=$1 username=smeagol token=01234567890 curl -H "Content-Type:application/json"...

View Article

Answer by Chillar Anand for Create a repo in Gitlab using CLI

Since you just wanted to create a repo, there is no need of third party apps. You can directly send a post request to gitlab API which will create repo.Go to account tab in your profile, you will find...

View Article

Answer by Michael Lihs for Create a repo in Gitlab using CLI

gitlab-cli is no longer maintained, the author references the Gitlab module to be used instead - it also includes a CLI tool.For your specific request - namely creating a project on the command line,...

View Article


Answer by thameera for Create a repo in Gitlab using CLI

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.

View Article


Create a repo in Gitlab using CLI

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...

View Article
Browsing all 10 articles
Browse latest View live