user493313
user493313

Reputation: 161

Git shows the error "does not appear to be a git repository fatal: The remote end hung up unexpectedly"

I just installed GIT in my CentOS Linux server and configured it. When I create a new repository using git init it works fine and gives output of the command also.
But whenever I try to clone the remote repository into my local computer folder it gives the following message:

fatal: '/public_html/repositories/git-test/.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly

Has anyone come across this issue, what could be the reason?

Upvotes: 16

Views: 28454

Answers (1)

kanaka
kanaka

Reputation: 73119

Your path may be incomplete. Perhaps your full path should be something more like this: /home/USER/public_html/repositories/git-test.

Upvotes: 11

Related Questions