I have an installed GitLab on my CentOS based Linux server. Tried to git clone one repository and it works in this way:
git clone email@example.com:/var/opt/gitlab/git-data/repositories/Ferenc/upload_test3.git
The problem is that the website offer me this below URL:
When I try to git clone with this second URL, I get this error:
fatal: 'Ferenc/upload_test3.git' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
What should I modify on server to fix this issue?
a couple of things that come to mind that you could check. From my first GitLab set-up I remember I had to set my public-private key pair with the server in order to have access to repositories (and since git is telling you there might be something related to access rights this might be a decent lead).
If that is not the issue, you might want to check your local git settings, as in your global user and email and if that corresponds to any settings you made on the server to exclude unwanted visitors.
Other than that, you could also check your remote on your local repository and see if it set correctly by doing a
git remote -v and compare it with the URL that gitlab provides within the repository.
yes i am having the same issue. only full path will work. i cant figire this out