Cannot create project with push

Hey Guys,

I am trying to create a project using command line. So I used the information given at https://gitlab.com/help/gitlab-basics/create-project#push-to-create-a-new-project.

I did set up a new git repository, added the remote, commited something and tried to push to create a new project using this command:
git push --set-upstream git@gitlab.com:lennart_ferlings/test master
And what did it do? The remote told me to make sure the project does exist… :smiley:

remote:
remote: ========================================================================
remote:
remote: The project you were looking for could not be found.
remote:
remote: ========================================================================
remote:
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Please tell me whats my fault. Thank you

I encountered the same problem. Switching to https worked, but I’d prefer to use SSH. I’m using SSH to another repo with a clone on the same machine, and setting up a remote using SSH after creating the branch works as well, so I’m not sure what the problem is.