HOW? - Create a new gitlab-repo in gitlab from CLI
I'm not sure if my understanding of English is correct or not as I've tried lots and lots for this and still won't do as I think it would.
I want to CREATE a new git-repo on my account from CLI without logging in on their website and create an empty 'project' (for me this 'project' is a new repo) For ME a gitlab repo is the thing... object... wutever that ends with '.git' I got one for my dotfiles and that is naturally called dotfiles.git If I try the thing below to this "repo", the dotfiles.git it works, but for me that is not to CREATE A NEW repo, or am I waaay off? XXX is my name on gitlab The last thing I tried told me to: Code:
git init Code:
and this happens: Code:
git push --set-upstream git@gitlab.com/XXX/gitlab-project.git main Code:
git push --set-upstream git@gitlab.com/XXX/gitlab-project.git master So my question here is, can I or can I not create a NEW!!! (as for me, new) repo in gitlab from a CLI? I got some SBC's I use and on those I got no GUI just a simple CLI but I do have network and if I do something in some code that I like I really want to backup that ASAP to, probably a NEW repo, not just add it to my dotfiles.git repo. What is the problem? ME or the world :( :( |
Oh btw, I think I might say that I use SSH instead of https.
|
All times are GMT -5. The time now is 06:40 PM. |