Unable to create a private repository directly from command line
Summary
I track dotfiles changes using Git. But when I tried to push git repository using git push --set-upstream origin master command it gives me following error:
Authenticated to gitlab.com ([35.231.145.151]:22).
500 Internal Server Error
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
This happens when remote project's URL contains . (dot/period symbol) as prefix, whereas remote URL doesn’t contain . as prefix works fine.
Steps to reproduce
$ git init .vim
$ cd .vim
$ touch vimrc
$ git add .
$ git commit -m 'Initial commit'
$ git remote add origin git@gitlab.com:namespace/.vim.git
$ git push -u origin master
Authenticated to gitlab.com ([35.231.145.151]:22).
500 Internal Server Error
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Example Project
Since I can't create a project, so not adding any link to example project.
What is the current bug behavior?
Getting HTTP 500 Internal Server Error.
What is the expected correct behavior?
Automatically, a private repository should be created.
Relevant logs and/or screenshots
No logs available.
Output of checks
This bug happens on https://gitlab.com.
Edited by Finn