I've been asked to write a program with a co worker to automate some projects migrations.
We have a function that's supposed to create a gitlab repository(a project from what I understood ). It would takes for parameters the project's codename and it's actual name.
I've looked on the gitlab documentation that it's possible to create a new project from command line :
git push --set-upstream https://gitlab.example.com/namespace/nonexistent-project.git master
I've been trying severals ways to write but it always ends up by a fatal error, project not found and such.
git push --set-upstream https://name.of.space/gitlab/username/testproject.git master
git push --set-upstream https://name.of.space/gitlab/username/someSubDirectory/codeName/projectest.git
Am i writting it wrong or ?
Thanks for the reading, and sorry in advance for my english.