Unable to clone GitLab project
Even after giving the correct credentials i am unable to clone the GitLab project.
I am getting the following error.
$ git clone https://gitlab.com/user-name/project-name.git
Cloning into 'project-name'...
remote: The project you were looking for could not be found.
fatal: repository 'https://gitlab.com/user-name/project-name.git/' not found
2 Answers
This happens in some cases where your computer's username is different from the GitLab's username.
You can solve it by adding the username
git clone https://[email protected]/user-name/project-name.git
This happens in some cases where your computer's username is different from the GitLab's username.
You can solve it by adding the username
git clone https://[email protected]/user-name/project-name.git