Report this

What is the reason for this report?

Fatal error "not a git repository" Git

Posted on July 7, 2014

Hi!

I’ve been trying to setup git. I’ve followed this tutorials step by step like 12 times. https://www.digitalocean.com/community/tutorials/how-to-use-git-effectively https://www.digitalocean.com/community/tutorials/how-to-install-git-on-debian-7

But I get stuck in the same step: “git push origin master” I get the following error:

fatal: ‘/testing.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 and the repository exists.

Previously I’ve done:

git remote add origin ssh://gitadmin@xxx.xxx.xxx.xxx/testing.git git remote -v

I’ve also tried with the complete path git remote set-url origin ssh://gitadmin@xxx.xxx.xxx.xxx/home/gitadmin/git/testing.git

Without errors, but always the same error… gitadmin is a user of my server, which is a debian 7 x32

Thanks in advance.

The developer cloud

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

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.