When creates new project in Gitlab, it provides with the following recommendationsfor adding existing sources:
cd existing_foldergit init --initial-branch=maingit remote add origin git@gitlab.vbulash.site:neuroplatforms/neuro3.gitgit add .git commit -m "Initial commit"git push --set-upstream origin main
Unfortunately, last line produces the output:
vbulash@iMac-Valerij 21:13:43 ~/VSCode/neuro3 # git push --set-upstream origin maingit@gitlab.vbulash.site's password: fatal: 'neuroplatforms/neuro3.git' does not appear to be a git repositoryfatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.
git user at gitlab server additionally belongs to sudoers.
What's wrong?