Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6144

Git push not recognize newly created Gitlab project

$
0
0

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?


Viewing all articles
Browse latest Browse all 6144

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>