Report this

What is the reason for this report?

Gitlab: not a git repository

Posted on February 6, 2015

Hello,

I’m running Ubuntu 14 with Gitlab. The gitlab is working fine, besides cloning from it.

Whenever I try to access the repository using phpstorm, I get:

fatal: ‘root/WebGL.git’ does not appear to be a git repositoy fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

gitlab is proving me this link: git@*****.net:root/WebGL.git

I can login via ssh as git user, the home directory points to:

/var/opt/gitlab

The path to the repository on the VPS is

/var/opt/gitlab/git-data/repositories/root/test.git The contents of the directory are:

config description HEAD Hooks info objects refs

I generated a public ssh key using PuTTYgen on my windows machine (the computer I’m trying to clone the project to) and added it to gitlabs ‘ssh keys’ section.

I also saved the key to c:/Users/Me/.ssh/id_rsa.pub, but still keep getting this error.

Thanks!



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Strangly it works through HTTP, but not through SSH

Have you figured this out? If not, try using this link format:

ssh://git@*****.net:repositories/root/WebGL.git

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.