Fatal error "not a git repository" Git
I’ve been trying to setup git. I’ve followed this tutorials step by step like 12 times.
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://firstname.lastname@example.org/testing.git
git remote -v
I’ve also tried with the complete path
git remote set-url origin ssh://email@example.com/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.
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.