Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gitlab 'fatal: repository '...' not found' - unable to push to a newly created project

Tags:

gitlab

Can anyone spot what I could possibly be doing wrong? You can browser zoom in to see image details.

This is a fresh account, new project, owner of group and I am simply unable to push (HTTPS) following instructions provided.

Unable to push - repository not found

like image 561
Daniel Sokolowski Avatar asked Nov 08 '14 16:11

Daniel Sokolowski


People also ask

How do I fix repository not found?

Fix 5 - Git - remote: Repository not found Just run the git remote update command which updates the local repo with the remote repo and its credentials. If this command is executed without any issues then your issue will be resolved.

Why is it saying repository not found?

Error: Repository not found. If you see this error when cloning a repository, it means that the repository does not exist or you do not have permission to access it.

Could not read from remote repository in Gitlab?

The Git “fatal: Could not read from remote repository” error occurs when there is an issue authenticating with a Git repository. This is common if you have incorrectly set up SSH authentication. To solve this error, make sure your SSH key is in your keychain and you connecting to a repository using the correct URL.


2 Answers

When adding the remote URL to the initial configuration, instead of using the URL that Gitlab gives you, try adding the following URL instead and replace the details below as mentioned, to reflect your info & your project info:

REMOTE URL FORMAT:

https://YOUR_USER_NAME:[email protected]/YOUR_USER_NAME/YOUR_PROJECT_NAME.git/

REPLACEMENTS IN THE ABOVE URL:

YOUR_USER_NAME - Replace this with your gitlab username
PASSWORD - Replace this with your gitlab password
YOUR_PROJECT_NAME - Replace this with your gitlab project name (whatever is generated for you)
like image 110
Devner Avatar answered Sep 27 '22 16:09

Devner


I create a small site to fix really quick this issue. gitlab fix remote

image of the web site

like image 23
Daniel Alejandro Avatar answered Sep 27 '22 16:09

Daniel Alejandro